aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/mail/mail_noevent.txt2
-rw-r--r--templates/mail/mail_timetable.txt2
2 files changed, 1 insertions, 3 deletions
diff --git a/templates/mail/mail_noevent.txt b/templates/mail/mail_noevent.txt
deleted file mode 100644
index dc01189..0000000
--- a/templates/mail/mail_noevent.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Aucun cours pour le groupe {{ group }} pendant la semaine {{ week }}.
-
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 %}