summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-04-17 17:55:18 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-04-17 17:55:18 +0200
commit7bc1ef0aceb37d7633d0d9fbec8c773a9bc546d4 (patch)
treeecf3c5392882cd98aae12bc1e1ad90490620cbba /js
parentddc26320b7ba91fabd3e8a7a6e10609df1f4b627 (diff)
parentacd0d04fdf54b643981dea275c1c8c8ee423799a (diff)
Merge pull request #367 from owncloud/add-socialprofile-fields
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'