chg: [instance:navigation] Usage of the mapped icons

pull/72/head
mokaddem 2021-09-10 16:05:05 +02:00
parent 0da5d456d1
commit 9dc27f4cc8
1 changed files with 14 additions and 14 deletions

View File

@ -45,48 +45,48 @@ class NavigationComponent extends Component
'ContactDB' => [ 'ContactDB' => [
'Individuals' => [ 'Individuals' => [
'label' => __('Individuals'), 'label' => __('Individuals'),
'icon' => 'address-book', 'icon' => $this->iconToTableMapping['Individuals'],
'url' => '/individuals/index', 'url' => '/individuals/index',
], ],
'Organisations' => [ 'Organisations' => [
'label' => __('Organisations'), 'label' => __('Organisations'),
'icon' => 'building', 'icon' => $this->iconToTableMapping['Organisations'],
'url' => '/organisations/index', 'url' => '/organisations/index',
], ],
'EncryptionKeys' => [ 'EncryptionKeys' => [
'label' => __('Encryption keys'), 'label' => __('Encryption keys'),
'icon' => 'key', 'icon' => $this->iconToTableMapping['EncryptionKeys'],
'url' => '/encryptionKeys/index', 'url' => '/encryptionKeys/index',
] ]
], ],
'Trust Circles' => [ 'Trust Circles' => [
'SharingGroups' => [ 'SharingGroups' => [
'label' => __('Sharing Groups'), 'label' => __('Sharing Groups'),
'icon' => 'user-friends', 'icon' => $this->iconToTableMapping['SharingGroups'],
'url' => '/sharingGroups/index', 'url' => '/sharingGroups/index',
] ]
], ],
'Sync' => [ 'Sync' => [
'Broods' => [ 'Broods' => [
'label' => __('Broods'), 'label' => __('Broods'),
'icon' => 'network-wired', 'icon' => $this->iconToTableMapping['Broods'],
'url' => '/broods/index', 'url' => '/broods/index',
] ]
], ],
'Administration' => [ 'Administration' => [
'Roles' => [ 'Roles' => [
'label' => __('Roles'), 'label' => __('Roles'),
'icon' => 'id-badge', 'icon' => $this->iconToTableMapping['Roles'],
'url' => '/roles/index', 'url' => '/roles/index',
], ],
'Users' => [ 'Users' => [
'label' => __('Users'), 'label' => __('Users'),
'icon' => 'users', 'icon' => $this->iconToTableMapping['Users'],
'url' => '/users/index', 'url' => '/users/index',
], ],
'Messages' => [ 'Messages' => [
'label' => __('Messages'), 'label' => __('Messages'),
'icon' => 'inbox', 'icon' => $this->iconToTableMapping['Inbox'],
'url' => '/inbox/index', 'url' => '/inbox/index',
'children' => [ 'children' => [
'index' => [ 'index' => [
@ -105,19 +105,19 @@ class NavigationComponent extends Component
'children' => [ 'children' => [
'MetaTemplates.index' => [ 'MetaTemplates.index' => [
'label' => __('Meta Field Templates'), 'label' => __('Meta Field Templates'),
'icon' => 'object-group', 'icon' => $this->iconToTableMapping['MetaTemplates'],
'url' => '/metaTemplates/index', 'url' => '/metaTemplates/index',
], ],
'LocalTools.index' => [ 'LocalTools.index' => [
'label' => __('Local Tools'), 'label' => __('Local Tools'),
'icon' => 'tools', 'icon' => $this->iconToTableMapping['LocalTools'],
'url' => '/localTools/index', 'url' => '/localTools/index',
] ]
] ]
], ],
'Instance' => [ 'LocalTools' => [
'label' => __('Instance'), 'label' => __('Instance'),
'icon' => 'server', 'icon' => $this->iconToTableMapping['LocalTools'],
'children' => [ 'children' => [
'Database' => [ 'Database' => [
'label' => __('Database'), 'label' => __('Database'),
@ -130,7 +130,7 @@ class NavigationComponent extends Component
'Open' => [ 'Open' => [
'Organisations' => [ 'Organisations' => [
'label' => __('Organisations'), 'label' => __('Organisations'),
'icon' => 'buildings', 'icon' => $this->iconToTableMapping['Organisations'],
'url' => '/open/organisations/index', 'url' => '/open/organisations/index',
'children' => [ 'children' => [
'index' => [ 'index' => [
@ -142,7 +142,7 @@ class NavigationComponent extends Component
], ],
'Individuals' => [ 'Individuals' => [
'label' => __('Individuals'), 'label' => __('Individuals'),
'icon' => 'address-book', 'icon' => $this->iconToTableMapping['Individuals'],
'url' => '/open/individuals/index', 'url' => '/open/individuals/index',
'children' => [ 'children' => [
'index' => [ 'index' => [