Assiduites : bug fix page "live" etud

This commit is contained in:
iziram 2023-05-17 20:18:02 +02:00
parent 6dc39c25ee
commit 30781ba9aa
2 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@
<input type="date" name="tl_date" id="tl_date" value="{{ date }}" onchange="updateDate()"> <input type="date" name="tl_date" id="tl_date" value="{{ date }}" onchange="updateDate()">
</div> </div>
{% include "assiduites/timeline.j2" %} {{timeline|safe}}
<div> <div>

View File

@ -205,6 +205,7 @@ def signal_assiduites_etud():
date=datetime.date.today().isoformat(), date=datetime.date.today().isoformat(),
morning=morning, morning=morning,
lunch=lunch, lunch=lunch,
timeline=_timeline(),
afternoon=afternoon, afternoon=afternoon,
forcer_module=sco_preferences.get_preference( forcer_module=sco_preferences.get_preference(
"forcer_module", dept_id=g.scodoc_dept_id "forcer_module", dept_id=g.scodoc_dept_id