aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-01-22 19:14:31 +0100
committerAlban Gruin2017-01-22 19:14:31 +0100
commitab3885a7cc8551061da8bc41835933a75c9937e0 (patch)
tree2a28e0c3faadf21f2e682a7afc3993a90f9ec012
parent5eef84c1b175841caebdb066e0e1e6e1038e8c65 (diff)
Affichage du lien pour s'abonner une seule fois par template
-rw-r--r--templates/timetable.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/timetable.html b/templates/timetable.html
index 16a21c8..74a7bbb 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -10,5 +10,5 @@
<ul>{% for course in day %}
<li class="course"><b>{{ course.name }}</b>, de {{ course.begin|date:"H:i" }} à {{ course.end|date:"H:i" }}{% if course.rooms.all|length > 0 %}<br /><em>Salle{% if course.rooms.all|length > 1 %}s{% endif %} {% for room in course.rooms.all %}{{ room }} {% endfor %}</em>{% endif %}</li>{% endfor %}
</ul>
- </section>
- <p><a href="{% url "subscribe" timetable.slug year week group.slug %}">S'abonner à cet emploi du temps</a></p>{% endfor %}{% endblock %}
+ </section>{% endfor %}
+ <p><a href="{% url "subscribe" timetable.slug year week group.slug %}">S'abonner à cet emploi du temps</a></p>{% endblock %}