aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/mail_timetable.txt
diff options
context:
space:
mode:
authorAlban Gruin2017-02-13 19:39:41 +0100
committerAlban Gruin2017-02-13 19:43:16 +0100
commitb687e245d351e09cdec0ffb548543ced717000e6 (patch)
treefaa1968ed63a7dc721cceda4d7c21dd698c54772 /templates/mail/mail_timetable.txt
parentdcc825c3a650a6756c464a5351e4ffe6ecadd30a (diff)
Regroupement des deux mails d'emploi du temps dans une seule template, c'est plus proprev0.6.2
Diffstat (limited to 'templates/mail/mail_timetable.txt')
-rw-r--r--templates/mail/mail_timetable.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/mail_timetable.txt b/templates/mail/mail_timetable.txt
index 65b5c01..06a2b1c 100644
--- a/templates/mail/mail_timetable.txt
+++ b/templates/mail/mail_timetable.txt
@@ -2,5 +2,5 @@
{% 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 %}
+{% endfor %}{% empty %}Aucun cours pour le groupe {{ group }} pendant la semaine {{ week }}.
{% endfor %}{% endautoescape %}