diff options
author | Alban Gruin | 2017-10-10 18:26:37 +0200 |
---|---|---|
committer | Alban Gruin | 2017-10-10 18:26:37 +0200 |
commit | 5939a5dc3747e8b872dd4cb0c622621c25b72c5d (patch) | |
tree | 239bb7a3f942ee02a0eee6c7b2a098a0674d2763 /templates/timetable.html | |
parent | e6ccfea46083c4cd228be57565be006e8c3c59f8 (diff) |
Si la semaine courante n’a pas de cours existant, la page généralev0.10.5
existe quand même
Diffstat (limited to 'templates/timetable.html')
-rw-r--r-- | templates/timetable.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/timetable.html b/templates/timetable.html index 4ab6a1a..e4dffe7 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -15,7 +15,7 @@ {% if is_old_timetable %} <b><a href="{% url "timetable" group.timetable.year.slug group.timetable.slug group.slug %}">Accéder à l’emploi du temps de cette semaine.</b></a><br /> {% endif %} - Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }} + {% if last_update %}Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}{% endif %} </p> {% include "timetable_common.html" %} <p class="subscribe"><a href="{% url "ics" group.timetable.year.slug group.timetable.slug group.slug %}">ICS</a> – <a href="{% url "rss" group.timetable.year.slug group.timetable.slug group.slug %}">RSS</a> – <a href="{% url "atom" group.timetable.year.slug group.timetable.slug group.slug %}">Atom</a></p>{% endblock %} |