diff options
author | Alban Gruin | 2017-11-19 00:05:24 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-27 12:11:31 +0100 |
commit | 679010e9cb526709963ebcf49450c1c7c1ef105e (patch) | |
tree | a334fc5911052fb5178be9c85260a9abd5bc7b45 | |
parent | bb049a8d5954bbcf3ae5207a0ab4445591555d6e (diff) |
Liste des groupes à la place de la liste des salles dans l’edt des salles
-rw-r--r-- | templates/timetable_common.html | 2 |
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> |