diff options
author | Alban Gruin | 2017-01-22 14:34:14 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-22 14:34:14 +0100 |
commit | c35a975116bd1a478b7d09028ffba662796d8890 (patch) | |
tree | d232632a2dd3f276a7913768d8430a017c8a2fa3 /templates/timetable.html | |
parent | 310c91fcd777a9e7c97379803e41d795a4661be7 (diff) |
Affichage de la dernière mise à jour sur les pages concernées
Diffstat (limited to 'templates/timetable.html')
-rw-r--r-- | templates/timetable.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/timetable.html b/templates/timetable.html index f4be3a3..8c125c5 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -3,7 +3,8 @@ {% block title %}{{ timetable.name }} – {{ group.name }} – Semaine {{ week }} – {% endblock %} {% block body %} - <h2>{{ timetable.name }} – {{ group.name }} – Semaine {{ week }}</h2>{% for day in courses %} + <h2>{{ timetable.name }} – {{ group.name }} – Semaine {{ week }}</h2> + <p>Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}</p>{% for day in courses %} <section> <h3>{{ day.0.begin|date:"l j F o" }} – de {{ day.0.begin|date:"H:i" }} à {% with day|last as last %}{{ last.end|date:"H:i" }}{% endwith %}</h3> <ul>{% for course in day %} |