From 30781ba9aa03ad4c56b4248b6d9353ea0c6e97f2 Mon Sep 17 00:00:00 2001 From: iziram Date: Wed, 17 May 2023 20:18:02 +0200 Subject: [PATCH] Assiduites : bug fix page "live" etud --- app/templates/assiduites/signal_assiduites_etud.j2 | 2 +- app/views/assiduites.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/assiduites/signal_assiduites_etud.j2 b/app/templates/assiduites/signal_assiduites_etud.j2 index d44ccaccef..100528acf5 100644 --- a/app/templates/assiduites/signal_assiduites_etud.j2 +++ b/app/templates/assiduites/signal_assiduites_etud.j2 @@ -40,7 +40,7 @@ - {% include "assiduites/timeline.j2" %} + {{timeline|safe}}
diff --git a/app/views/assiduites.py b/app/views/assiduites.py index 7ba3d959fb..11326ac6f4 100644 --- a/app/views/assiduites.py +++ b/app/views/assiduites.py @@ -205,6 +205,7 @@ def signal_assiduites_etud(): date=datetime.date.today().isoformat(), morning=morning, lunch=lunch, + timeline=_timeline(), afternoon=afternoon, forcer_module=sco_preferences.get_preference( "forcer_module", dept_id=g.scodoc_dept_id