{% load rooms %}
{% 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 %}
{% for course in day %}
{% if group_mode %}{{ course.rooms.all|format_rooms }}{% else %}{{ course.groups.all|join:", " }}{% endif %}{% endif %}{% if course.notes %}
Remarques : {{ course.notes }}{% endif %}
Aucun cours cette semaine.
{% endfor %}