aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-02-21 09:20:05 +0100
committerAlban Gruin2017-02-21 09:20:05 +0100
commitcd004bdf1144b27bcb4de1f4ffd750b6eefcb477 (patch)
treeef1e2aeb4283e178dfb5df4d71651bacf9d0a6c3
parentde405f2212fa64ad2a6a11f6d18186571021ad8c (diff)
Ajout d'une ligne vide entre les différents jours
-rw-r--r--templates/mail/mail_timetable.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/mail/mail_timetable.txt b/templates/mail/mail_timetable.txt
index 06a2b1c..a14ce9a 100644
--- a/templates/mail/mail_timetable.txt
+++ b/templates/mail/mail_timetable.txt
@@ -2,5 +2,6 @@
{% for course in day %}
* {{ course.name }} ({{ course.type }}), 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 %}{% empty %}Aucun cours pour le groupe {{ group }} pendant la semaine {{ week }}.
{% endfor %}{% endautoescape %}