{% extends 'layouts/authenticated.html.twig' %} {% block page_title %}Detail audit #{{ log.id }}{% endblock %} {% block content %}
{{ log.actionLabel }} — {{ log.createdAt|date('d/m/Y H:i:s') }}
{{ log.description }}
| Champ | Avant | Apres |
|---|---|---|
| {{ key }} |
{% if oldVal is iterable %}
{{ oldVal|json_encode }}
{% else %}
{{ oldVal ?? '-' }}
{% endif %}
|
{% if newVal is iterable %}
{{ newVal|json_encode }}
{% else %}
{{ newVal ?? '-' }}
{% endif %}
|
{{ value|json_encode }}
{% else %}
{{ value }}
{% endif %}