diff options
author | Alban Gruin | 2017-09-08 19:10:46 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-08 19:10:46 +0200 |
commit | 400b3dc382ff5f0b279250b4952569206e42d7fd (patch) | |
tree | 960a27159e37541f9d3a6f6c8508c9c8cf6baa3b /templates | |
parent | af0fe7024ce13cdb30170f00df8a1883eef23bf8 (diff) |
Simplification d’une template
Diffstat (limited to 'templates')
-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 b84a27d..948aab4 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -11,7 +11,7 @@ <ul>{% for course in day %} <li class="course"> <b>{{ course }}</b> ({{ course.type }}), de {{ course.begin|date:"H:i" }} à {{ course.end|date:"H:i" }}{% if course.rooms.all|length > 0 %}<br /> - <em>{{ course.rooms.all|format_rooms }}</em>{% endif %}{% if course.notes != "" and courses.notes is not None %}<br /> + <em>{{ course.rooms.all|format_rooms }}</em>{% endif %}{% if course.notes %}<br /> <small>Remarques : {{ course.notes }}</small>{% endif %} </li>{% endfor %} </ul> |