aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/mail_timetable.txt
blob: 376aac17eb5ef2c2fc079e09cadfc6a678178829 (plain)
1
2
3
4
5
6
{% autoescape off %}{% 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 %}
 * {{ course.name }}, de {{ course.begin|date:"H:i" }} à {{ course.end|date:"H:i" }}{% if course.rooms.all|length > 0 %}
   Salle{% if course.rooms.all|length > 1 %}s{% endif %} {% for room in course.rooms.all %}{{ room }} {% endfor %}{% endif %}
{% endfor %}
{% endfor %}{% endautoescape %}