Skip to content
Snippets Groups Projects
Unverified Commit 85486a5c authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #21771 from nextcloud/techdebt/noid/clarify-scopes-for-profile-data

Clarify the scopes for profile data federation
parents a4cf1367 9ce7b60c
No related branches found
No related tags found
No related merge requests found
...@@ -27,22 +27,22 @@ ...@@ -27,22 +27,22 @@
this._scopes = [ this._scopes = [
{ {
name: 'private', name: 'private',
displayName: (this.field === 'avatar' || this.field === 'displayname' || this.field === 'email') ? t('settings', 'Local') : t('settings', 'Private'), displayName: t('settings', 'Private'),
tooltip: (this.field === 'avatar' || this.field === 'displayname' || this.field === 'email') ? t('settings', 'Only visible to local users') : t('settings', 'Only visible to you'), tooltip: t('settings', "Don't synchronize to servers"),
iconClass: 'icon-password', iconClass: 'icon-password',
active: false active: false
}, },
{ {
name: 'contacts', name: 'contacts',
displayName: t('settings', 'Contacts'), displayName: t('settings', 'Trusted'),
tooltip: t('settings', 'Visible to local users and to trusted servers'), tooltip: t('settings', 'Only synchronize to trusted servers'),
iconClass: 'icon-contacts-dark', iconClass: 'icon-contacts-dark',
active: false active: false
}, },
{ {
name: 'public', name: 'public',
displayName: t('settings', 'Public'), displayName: t('settings', 'Public'),
tooltip: t('settings', 'Will be synced to a global and public address book'), tooltip: t('settings', 'Synchronize to trusted servers and the global and public address book'),
iconClass: 'icon-link', iconClass: 'icon-link',
active: false active: false
} }
...@@ -106,13 +106,13 @@ ...@@ -106,13 +106,13 @@
} }
switch (currentlyActiveValue) { switch (currentlyActiveValue) {
case "private": case 'private':
this._scopes[0].active = true; this._scopes[0].active = true;
break; break;
case "contacts": case 'contacts':
this._scopes[1].active = true; this._scopes[1].active = true;
break; break;
case "public": case 'public':
this._scopes[2].active = true; this._scopes[2].active = true;
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment