refactor(ui): polish admin sidebar nav groups and audit labels

Use short i18n keys for audit nav labels (nav.audit.*) with translations
in both language files. Restyle admin sidebar group icons with colored
pill backgrounds per group. Adjust details summary line-height and
active-state border color to use group icon color.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 15:09:55 +01:00
parent 5b2ea6bf27
commit a4eb1c6967
5 changed files with 62 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ return [
[
'key' => 'audit-api-audit',
'group' => 'admin-logs',
'label' => 'API audit',
'label' => 'nav.audit.api',
'path' => 'audit/api-audit',
'permission' => 'audit.api.view',
'order' => 200,
@@ -58,7 +58,7 @@ return [
[
'key' => 'audit-system-audit',
'group' => 'admin-logs',
'label' => 'System audit logs',
'label' => 'nav.audit.system',
'path' => 'audit/system-audit',
'permission' => 'audit.system.view',
'order' => 210,
@@ -66,7 +66,7 @@ return [
[
'key' => 'audit-import-audit',
'group' => 'admin-logs',
'label' => 'Import logs',
'label' => 'nav.audit.imports',
'path' => 'audit/import-audit',
'permission' => 'audit.imports.view',
'order' => 220,
@@ -74,7 +74,7 @@ return [
[
'key' => 'audit-user-lifecycle-audit',
'group' => 'admin-logs',
'label' => 'User lifecycle logs',
'label' => 'nav.audit.user_lifecycle',
'path' => 'audit/user-lifecycle-audit',
'permission' => 'audit.user_lifecycle.view',
'order' => 230,