{ totalRecords, plural, =0 {No entry} =1 {1 entry} other {{{ totalRecords | myNumberFormatter }} entries}} @if (table.isColumnDisplayed('createdAt')) { {{ auditLog.createdAt | ptDate: 'medium' }} } @if (table.isColumnDisplayed('user')) { {{ auditLog.user.username }} } @if (table.isColumnDisplayed('action')) { {{ getActionLabel(auditLog.action) }} } @if (table.isColumnDisplayed('entityType')) { {{ getEntityTypeLabel(auditLog.entityType) }} } @if (table.isColumnDisplayed('entity')) { @if (auditLog.entityLink) { @if (auditLog.entityLabel) { {{ auditLog.entityLabel }} } @else { Open entity } } @else { {{ auditLog.entityLabel || '-' }} } } @if (table.isColumnDisplayed('entityId')) { @if (auditLog.entityId) { {{ auditLog.entityId }} } } @if (table.isColumnDisplayed('ip')) { {{ auditLog.ip || '-' }} } @if (auditLog.hasChanges) {
Changes:
Old values
{{ auditLog.oldChangesJSON }}
New values
{{ auditLog.newChangesJSON }}
} @else if (auditLog.action === 'update') {
No attribute change recorded.
}
Entity:
{{ auditLog.entityJSON }}
No audit log entries found.