diff --git a/modules/audit/pages/audit/system-audit/view(default).phtml b/modules/audit/pages/audit/system-audit/view(default).phtml index 55bee26..30c988c 100644 --- a/modules/audit/pages/audit/system-audit/view(default).phtml +++ b/modules/audit/pages/audit/system-audit/view(default).phtml @@ -22,6 +22,7 @@ if ($metadataJson !== '') { } $requestId = trim((string) ($auditLog['request_id'] ?? '')); +$requestIdDisplay = $requestId !== '' ? substr($requestId, 0, 10) : '-'; $eventType = trim((string) ($auditLog['event_type'] ?? '')); $channel = strtoupper(trim((string) ($auditLog['channel'] ?? ''))); $errorCode = trim((string) ($auditLog['error_code'] ?? '')); @@ -30,7 +31,9 @@ $path = trim((string) ($auditLog['path'] ?? '')); $targetType = trim((string) ($auditLog['target_type'] ?? '')); $targetUuid = trim((string) ($auditLog['target_uuid'] ?? '')); $ipHash = trim((string) ($auditLog['ip_hash'] ?? '')); +$ipHashDisplay = $ipHash !== '' ? substr($ipHash, 0, 16) . '...' : '-'; $userAgentHash = trim((string) ($auditLog['user_agent_hash'] ?? '')); +$userAgentHashDisplay = $userAgentHash !== '' ? substr($userAgentHash, 0, 16) . '...' : '-'; $actorLabel = trim((string) ($auditLog['actor_user_display_name'] ?? '')); $actorEmail = trim((string) ($auditLog['actor_user_email'] ?? '')); @@ -56,87 +59,89 @@ if ($tenantLabel === '') { ?>
labelToken())); ?>
-