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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user