Browse Source

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

Clarify the scopes for profile data federation
pull/21760/head
Roeland Jago Douma 6 years ago
committed by GitHub
parent
commit
85486a5cc8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      apps/settings/js/federationscopemenu.js

16
apps/settings/js/federationscopemenu.js

@ -27,22 +27,22 @@
this._scopes = [
{
name: 'private',
displayName: (this.field === 'avatar' || this.field === 'displayname' || this.field === 'email') ? t('settings', 'Local') : 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'),
displayName: t('settings', 'Private'),
tooltip: t('settings', "Don't synchronize to servers"),
iconClass: 'icon-password',
active: false
},
{
name: 'contacts',
displayName: t('settings', 'Contacts'),
tooltip: t('settings', 'Visible to local users and to trusted servers'),
displayName: t('settings', 'Trusted'),
tooltip: t('settings', 'Only synchronize to trusted servers'),
iconClass: 'icon-contacts-dark',
active: false
},
{
name: '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',
active: false
}
@ -106,13 +106,13 @@
}
switch (currentlyActiveValue) {
case "private":
case 'private':
this._scopes[0].active = true;
break;
case "contacts":
case 'contacts':
this._scopes[1].active = true;
break;
case "public":
case 'public':
this._scopes[2].active = true;
break;
}

Loading…
Cancel
Save