From 658022b4223d287f2cc8eb45b2625e59742d7656 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 d44ccacc..100528ac 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 7ba3d959..11326ac6 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