aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-01-22 14:34:14 +0100
committerAlban Gruin2017-01-22 14:34:14 +0100
commitc35a975116bd1a478b7d09028ffba662796d8890 (patch)
treed232632a2dd3f276a7913768d8430a017c8a2fa3 /templates
parent310c91fcd777a9e7c97379803e41d795a4661be7 (diff)
Affichage de la dernière mise à jour sur les pages concernées
Diffstat (limited to 'templates')
-rw-r--r--templates/timetable.html3
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 }} &ndash; {{ group.name }} &ndash; Semaine {{ week }}</h2>{% for day in courses %}
+ <h2>{{ timetable.name }} &ndash; {{ group.name }} &ndash; 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" }} &ndash; de {{ day.0.begin|date:"H:i" }} à {% with day|last as last %}{{ last.end|date:"H:i" }}{% endwith %}</h3>
<ul>{% for course in day %}