Use person icon for personal settings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/18141/head
Julius Härtl 7 years ago
parent 0532f8116d
commit e18397284b
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 2
      lib/private/Settings/Manager.php
  2. 6
      tests/lib/Settings/ManagerTest.php

@ -348,7 +348,7 @@ class Manager implements IManager {
}
$sections = [
0 => [new Section('personal-info', $this->l->t('Personal info'), 0, $this->url->imagePath('core', 'actions/info.svg'))],
0 => [new Section('personal-info', $this->l->t('Personal info'), 0, $this->url->imagePath('core', 'actions/user.svg'))],
5 => [new Section('security', $this->l->t('Security'), 0, $this->url->imagePath('settings', 'password.svg'))],
15 => [new Section('sync-clients', $this->l->t('Mobile & desktop'), 0, $this->url->imagePath('core', 'clients/phone.svg'))],
];

@ -119,7 +119,7 @@ class ManagerTest extends TestCase {
$this->url->expects($this->exactly(3))
->method('imagePath')
->willReturnMap([
['core', 'actions/info.svg', '1'],
['core', 'actions/user.svg', '1'],
['settings', 'password.svg', '2'],
['core', 'clients/phone.svg', '3'],
]);
@ -178,7 +178,7 @@ class ManagerTest extends TestCase {
$this->url->expects($this->exactly(3))
->method('imagePath')
->willReturnMap([
['core', 'actions/info.svg', '1'],
['core', 'actions/user.svg', '1'],
['settings', 'password.svg', '2'],
['core', 'clients/phone.svg', '3'],
]);
@ -279,7 +279,7 @@ class ManagerTest extends TestCase {
$this->url->expects($this->exactly(9))
->method('imagePath')
->willReturnMap([
['core', 'actions/info.svg', '1'],
['core', 'actions/user.svg', '1'],
['settings', 'password.svg', '2'],
['core', 'clients/phone.svg', '3'],
['settings', 'admin.svg', '0'],

Loading…
Cancel
Save