Use person icon for personal settings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-11-25 13:46:45 +01:00
parent 0532f8116d
commit e18397284b
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
2 changed files with 4 additions and 4 deletions

View File

@ -348,7 +348,7 @@ class Manager implements IManager {
} }
$sections = [ $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'))], 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'))], 15 => [new Section('sync-clients', $this->l->t('Mobile & desktop'), 0, $this->url->imagePath('core', 'clients/phone.svg'))],
]; ];

View File

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