diff --git a/app/src/Controller/DashboardsController.php b/app/src/Controller/DashboardsController.php index 08561e985..f027da29a 100644 --- a/app/src/Controller/DashboardsController.php +++ b/app/src/Controller/DashboardsController.php @@ -94,26 +94,31 @@ public function configuration() { ], __d('controller', 'EnrollmentFlows', [99]) => [ 'icon' => 'subscriptions', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'enrollment_flows', 'action' => 'index' ], __d('controller', 'ExternalIdentitySources', [99]) => [ 'icon' => 'cloud_download', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'external_identity_sources', 'action' => 'index' ], __d('controller', 'IdentifierAssignments', [99]) => [ 'icon' => 'badge', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'identifier_assignments', 'action' => 'index' ], __d('controller', 'MessageTemplates', [99]) => [ 'icon' => 'email', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'message_templates', 'action' => 'index' ], __d('controller', 'MostlyStaticPages', [99]) => [ 'icon' => 'article', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'mostly_static_pages', 'action' => 'index' ], @@ -124,6 +129,7 @@ public function configuration() { ], __d('controller', 'ProvisioningTargets', [99]) => [ 'icon' => 'cloud_upload', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'provisioning_targets', 'action' => 'index' ], @@ -180,6 +186,7 @@ public function configuration() { $registryMenuItems = [ __d('controller', 'Groups', [99]) => [ 'icon' => 'people', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'groups', 'action' => 'index' ], @@ -190,6 +197,7 @@ public function configuration() { ], __d('controller', 'Servers', [99]) => [ 'icon' => 'computer', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'servers', 'action' => 'index' ] @@ -202,16 +210,19 @@ public function configuration() { $artifactMenuItems = [ __d('controller', 'ExtIdentitySourceRecords', [99]) => [ 'icon' => 'badge', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'ext_identity_source_records', 'action' => 'index' ], __d('controller', 'Jobs', [99]) => [ 'icon' => 'work_history', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'jobs', 'action' => 'index' ], __d('controller', 'Petitions', [99]) => [ 'icon' => 'pending_actions', + 'iconClass' => 'material-symbols-outlined', 'controller' => 'petitions', 'action' => 'index' ] diff --git a/app/templates/Dashboards/configuration.php b/app/templates/Dashboards/configuration.php index 94c51b1bb..1016a428e 100644 --- a/app/templates/Dashboards/configuration.php +++ b/app/templates/Dashboards/configuration.php @@ -43,7 +43,8 @@ $cfg): ?>
  • ' . $cfg['icon'] . '' + $iconClass = !empty($cfg['iconClass']) ? $cfg['iconClass'] : 'material-symbols'; + $linkContent = '' . '' . $label . ''; print $this->Html->link( $linkContent, @@ -63,7 +64,8 @@ $cfg): ?>
  • ' . $cfg['icon'] . '' + $iconClass = !empty($cfg['iconClass']) ? $cfg['iconClass'] : 'material-symbols'; + $linkContent = '' . '' . $label . ''; print $this->Html->link( $linkContent, @@ -83,7 +85,8 @@ $cfg): ?>
  • ' . $cfg['icon'] . '' + $iconClass = !empty($cfg['iconClass']) ? $cfg['iconClass'] : 'material-symbols'; + $linkContent = '' . '' . $label . ''; print $this->Html->link( $linkContent, @@ -105,8 +108,9 @@