summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-15 18:02:19 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-15 18:02:19 +0200
commitacd0d04fdf54b643981dea275c1c8c8ee423799a (patch)
tree835c33a24d72caa831b359bf620900dcd95e027b /js
parent93c1ef4e7c907ed001c6fa901238f2a076d37682 (diff)
Adding social profile fields
Diffstat (limited to 'js')
-rw-r--r--js/services/vCardProperties.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/services/vCardProperties.js b/js/services/vCardProperties.js
index 1d8c467a..56a640a6 100644
--- a/js/services/vCardProperties.js
+++ b/js/services/vCardProperties.js
@@ -105,6 +105,20 @@ angular.module('contactsApp')
{id: 'PAGER', name: t('contacts', 'Pager')},
{id: 'VOICE', name: t('contacts', 'Voice')}
]
+ },
+ 'X-SOCIALPROFILE': {
+ multiple: true,
+ readableName: t('contacts', 'Social Network'),
+ template: 'text',
+ defaultValue: {
+ value:[''],
+ meta:{type:['facebook']}
+ },
+ options: [
+ {id: 'FACEBOOK', name: 'Facebook'},
+ {id: 'TWITTER', name: 'Twitter'}
+ ]
+
}
};
@@ -118,6 +132,7 @@ angular.module('contactsApp')
'nick',
'bday',
'url',
+ 'X-SOCIALPROFILE',
'note',
'categories',
'role'