{% extends 'base.html.twig' %} {% block title %}Audit-Log{% endblock %} {% block content %}
Keine Audit-Log-Einträge gefunden.
| Zeitpunkt | Aktion | Entity | Beschreibung | Benutzer | Details |
|---|---|---|---|---|---|
| {{ log.createdAt|date('d.m.Y H:i:s') }} | {% set actionClass = log.action == 'CREATE' ? 'success' : (log.action == 'UPDATE' ? 'warning' : 'danger') %} {{ log.action }} |
{{ log.entityType }}
{% if log.entityId %}ID: {{ log.entityId }} {% endif %}
|
{{ log.description ?? '-' }} | {{ log.username ?? 'System' }} |
{% if log.changedFields %}
{% for field, changes in log.changedFields %}
{% else %}-{% endif %}
{{ field }}:
{% endfor %}
{% if changes.old is defined %}Alt: {{ changes.old|json_encode(constant('JSON_PRETTY_PRINT'))|e('html') }} {% endif %} {% if changes.new is defined %}Neu: {{ changes.new|json_encode(constant('JSON_PRETTY_PRINT'))|e('html') }}{% endif %} |