@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 || '-' }} |
}