{% extends "admin_base" %} {% block extra_css %}{{ super() }} {% endblock %} {% block title %}Historique{% endblock %} {% block breadcrumb %} / Historique {% endblock %} {% block content %}

# Historique des actions

Toutes les créations, modifications et suppressions effectuées via l'admin.

{% if filter_user %} ✕ {{ filter_user }} {% endif %} {% if filter_resource or filter_action or filter_user %} Réinitialiser {% endif %}

Date | Utilisateur | Ressource | Objet | Action |
--- | --- | --- | --- | --- | ---
{% if entries %} {% for entry in entries %}
{{ entry.created_at | format_date }} | {{ entry.username }} | {{ entry.resource_key }} | {% if entry.batch_count > 1 %} {{ entry.batch_count }} objets {% elif entry.object_pk and entry.object_pk != "" %} {{ entry.object_pk }} {% else %} — {% endif %} | {% if entry.batch_count > 1 %} {% if entry.action == "edit" %} {{ entry.batch_count }} modifiés {% elif entry.action == "delete" %} {{ entry.batch_count }} supprimés {% else %} {{ entry.batch_count }} × {{ entry.action }} {% endif %} {% elif entry.action == "create" %} créé {% elif entry.action == "edit" %} modifié {% elif entry.action == "delete" %} supprimé {% else %} {{ entry.action }} {% endif %} | {% if entry.batch_count > 1 %} Voir les {{ entry.batch_count }} {% elif entry.summary %} {% endif %}
{% endfor %} {% else %}
Aucune action enregistrée
{% endif %}

{% if total_pages > 1 %}
{% if page > 1 %} ← Précédent {% else %} {% endif %} Page {{ page }} / {{ total_pages }} {% if page < total_pages %} Suivant → {% else %} {% endif %}
{% endif %}
{% endblock %} {% block extra_js %}{{ super() }}
{% endblock %}