Audit
{%if not app.session.get("fgaudit")%}Afficher{%else%}Masquer{%endif%}
{% for audit in audits|reverse %} {% endfor %}
Date Par Action Détail
{{audit.datesubmit|date("d/m/Y H:i")}} {{audit.username}} {{audit.description}} {% for key, detail in audit.detail %} {% if audit.description=="UPDATE" %} {{key}} = de {%if detail[0] is empty%}null {%else%}{{detail[0]|join(', ')}}{%endif%} à {%if detail[1] is empty%}null {%else%} {{detail[1]|join(', ')}}{%endif%}
{% else %} id {{detail}} {% endif %} {% endfor %}