Audit log: its own Admin Panel URL and title, and right-to-left table alignment.

/admin/people/audit-log opens the pane and names it in the title bar like
every other People pane, and the table aligns to the start of the line,
so it reads right to left in Arabic, Hebrew, Persian and the rest.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu committed 2026-10-31 00:32:33 +02:00
1 parent 302b47db6f
commit 2017f2871f
3 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
.admin-audit-log-table th, .admin-audit-log-table td {
padding: 0.3rem 0.5rem;
border-bottom: 1px solid rgba(128, 128, 128, 0.3);
text-align: left;
text-align: start;
vertical-align: top;
}
.admin-audit-args { white-space: pre-wrap; word-break: break-all; font-size: 0.85em; }
@@ -58,6 +58,7 @@ OAuth providers and Passwordless login each have their own menu entry.
| `/admin/people/organizations` | Organizations | `org-setting` |
| `/admin/people/teams` | Teams | `team-setting` |
| `/admin/people/locked-users` | Locked Users | `locked-users-setting` |
| `/admin/people/audit-log` | Audit log | `audit-log-setting` |
| `/admin/people/roles` | Roles | `roles-setting` |
| `/admin/people/shared-templates` | Shared templates | `templates-setting` |
| `/admin/people/login` | Login | `registration-setting` |
+2
View File
@@ -84,6 +84,7 @@ const ADMIN_PAGES = {
teams: 'team-setting',
people: 'people-setting',
'locked-users': 'locked-users-setting',
'audit-log': 'audit-log-setting',
roles: 'roles-setting',
'shared-templates': 'templates-setting',
},
@@ -196,6 +197,7 @@ const ADMIN_PANE_TITLES = {
teams: { titleKey: 'teams' },
people: { titleKey: 'people' },
'locked-users': { titleKey: 'accounts-lockout-locked-users' },
'audit-log': { titleKey: 'admin-audit-log' },
roles: { titleKey: 'roles' },
'shared-templates': { titleKey: 'shared-templates' },
},