From bfa42fa2fbd93336227b28a096250fcdd756ea78 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Fri, 8 Sep 2017 11:56:55 +0200 Subject: Simplification de certaines templates --- templates/timetable.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/timetable.html') diff --git a/templates/timetable.html b/templates/timetable.html index a867fd0..b84a27d 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -1,16 +1,16 @@ {% extends "index.html" %} {% load rooms %} -{% block title %}{{ group.timetable.name }} – {{ group.name }} – Semaine {{ week }} – {% endblock %} +{% block title %}{{ group.timetable }} – {{ group }} – Semaine {{ week }} – {% endblock %} {% block body %} -

{{ group.timetable.name }} – {{ group.name }} – Semaine {{ week }}

+

{{ group.timetable }} – {{ group }} – Semaine {{ week }}

Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}

{% for day in courses %}

{% filter title %}{{ day.0.begin|date:"l j F o" }}{% endfilter %} – de {{ day.0.begin|date:"H:i" }} à {% with day|last as last %}{{ last.end|date:"H:i" }}{% endwith %}