From bee78a475e8a1dd171f52ab90a077f5dfbe5066d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 1 Aug 2018 10:05:42 +0200 Subject: [PATCH] Use icon classes in personal settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/js/federationscopemenu.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js index 250830551a..92db261b8f 100644 --- a/settings/js/federationscopemenu.js +++ b/settings/js/federationscopemenu.js @@ -16,13 +16,10 @@ '{{#each items}}' + '
  • ' + '' + - '{{#if icon}}' + - '{{else}}'+ - '{{#if iconClass}}' + - '' + - '{{else}}' + - '' + - '{{/if}}' + + '{{#if iconClass}}' + + '' + + '{{else}}' + + '' + '{{/if}}' + '

    {{displayName}}
    ' + '{{tooltip}}

    ' + @@ -48,21 +45,21 @@ name: 'private', displayName: (this.field === 'avatar' || this.field === 'displayname') ? t('settings', 'Local') : t('settings', 'Private'), tooltip: (this.field === 'avatar' || this.field === 'displayname') ? t('settings', 'Only visible to local users') : t('settings', 'Only visible to you'), - icon: OC.imagePath('core', 'actions/password'), + iconClass: 'icon-password', active: false }, { name: 'contacts', displayName: t('settings', 'Contacts'), tooltip: t('settings', 'Visible to local users and to trusted servers'), - icon: OC.imagePath('core', 'places/contacts'), + 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'), - icon: OC.imagePath('core', 'places/link'), + iconClass: 'icon-link', active: false } ];