diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-10-01 17:01:25 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-10-01 17:32:19 +0200 |
commit | 741a70be58dab0769038a3764f401946a802feb5 (patch) | |
tree | 31d513bad324458b6252e3eef13ce96e685e8fd1 /src/models | |
parent | 3a2dfdf5f246944baf5839a2278e80eb6c6f0a7a (diff) |
Add info for social prop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/rfcProps.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index 30745eeb..fd766946 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -170,13 +170,19 @@ const properties = { { id: 'WORK,PAGER', name: t('contacts', 'Work pager') } ] }, - 'X-SOCIALPROFILE': { + 'x-socialprofile': { multiple: true, + force: 'text', + icon: 'icon-social', readableName: t('contacts', 'Social network'), defaultValue: { - value: [''], + value: '', type: ['facebook'] }, + info: t( + 'contacts', + 'The url of the profile. e.g. https://www.facebook.com/Nextclouders/ ' + ), options: [ { id: 'FACEBOOK', name: 'Facebook' }, { id: 'GITHUB', name: 'GitHub' }, |