aboutsummaryrefslogtreecommitdiff
path: root/templates/timetable_common.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/timetable_common.html')
-rw-r--r--templates/timetable_common.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/timetable_common.html b/templates/timetable_common.html
index 62b1d71..d9e4ec7 100644
--- a/templates/timetable_common.html
+++ b/templates/timetable_common.html
@@ -5,7 +5,7 @@
<ul>{% for course in day %}
<li class="course">
<b>{{ course }}</b>{% if course.type %} ({{ course.type }}){% endif %}, 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 %}<br />
+ <em>{% if group_mode %}{{ course.rooms.all|format_rooms }}{% else %}{{ course.groups.all|join:", " }}{% endif %}</em>{% endif %}{% if course.notes %}<br />
<small>Remarques : {{ course.notes }}</small>{% endif %}
</li>{% endfor %}
</ul>