From 8889396d38f71960159b3e825a645bbdf638f53f Mon Sep 17 00:00:00 2001 From: Julien Castets Date: Thu, 18 Jul 2024 13:56:06 +0200 Subject: [PATCH] Fix history table with new dsfr --- mesads/templates/webpack/history.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mesads/templates/webpack/history.html b/mesads/templates/webpack/history.html index 25db7af..cf5f1d8 100644 --- a/mesads/templates/webpack/history.html +++ b/mesads/templates/webpack/history.html @@ -6,8 +6,11 @@

Historique des changements

{% for revision, objects in history.get_revisions %} {% for cls, objects_ids in objects.items %} {% for object_id, diff in objects_ids.items %} -
- +
+
+
+
+
{% if "deleted_at" in diff.changed_fields.keys|selectattr:"name" %} @@ -64,8 +67,11 @@

Historique des changements

{% endfor %} {% endif %} -
Changement du {{ revision.date_created|date:"d/m/Y" }} par {{ revision.user.email }}
+ +
+ + {% endfor %} {% endfor %} {% empty %}