aboutsummaryrefslogtreecommitdiff
path: root/templates/timetable.html
diff options
context:
space:
mode:
authorAlban Gruin2017-09-08 19:10:46 +0200
committerAlban Gruin2017-09-08 19:10:46 +0200
commit400b3dc382ff5f0b279250b4952569206e42d7fd (patch)
tree960a27159e37541f9d3a6f6c8508c9c8cf6baa3b /templates/timetable.html
parentaf0fe7024ce13cdb30170f00df8a1883eef23bf8 (diff)
Simplification d’une template
Diffstat (limited to 'templates/timetable.html')
-rw-r--r--templates/timetable.html2
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>