aboutsummaryrefslogtreecommitdiff
path: root/templates/timetable.html
diff options
context:
space:
mode:
authorAlban Gruin2017-01-22 19:10:26 +0100
committerAlban Gruin2017-01-22 19:10:26 +0100
commite0d2b72c30ec26ca953c52d6bec33dc030d18947 (patch)
tree1861a7392ddcc062cae796bf0e43170036c75c80 /templates/timetable.html
parentc0f72b8c7062eceda834beae57efbe95d94eb4f9 (diff)
Ajout d'un formulaire pour s'abonner à un emploi du temps
Diffstat (limited to 'templates/timetable.html')
-rw-r--r--templates/timetable.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/timetable.html b/templates/timetable.html
index 8c125c5..16a21c8 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -10,4 +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>{% endfor %}{% endblock %}
+ </section>
+ <p><a href="{% url "subscribe" timetable.slug year week group.slug %}">S'abonner à cet emploi du temps</a></p>{% endfor %}{% endblock %}