aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-09-09 11:50:39 +0200
committerAlban Gruin2017-09-09 11:50:39 +0200
commit815f01da38f9fd439098643b8522e182bedc1d27 (patch)
tree2342f1114d63c0689098ea05f757524c8aa61ce0
parent14058b4e9b7524cab4241b6188c13e6b97269370 (diff)
Ajout de liens pour le calendrier ICS et le flux atom
-rw-r--r--templates/timetable.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/timetable.html b/templates/timetable.html
index b5117e2..097373b 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -6,4 +6,7 @@
<h2>{{ group.timetable }} &ndash; {{ group }} &ndash; Semaine {{ week }}</h2>
<p>Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}</p>
{% include "timetable_common.html" %}
- <p><a class="subscribe" href="{% url "subscribe" group.timetable.year.slug group.timetable.slug group.slug year week %}">S’abonner à cet emploi du temps</a></p>{% endblock %}
+ <p>
+ <a href="{% url "ics" group.timetable.year.slug group.timetable.slug group.slug %}">ICS</a> &ndash; <a href="{% url "atom" group.timetable.year.slug group.timetable.slug group.slug %}">Atom</a><br />
+ <a class="subscribe" href="{% url "subscribe" group.timetable.year.slug group.timetable.slug group.slug year week %}">S’abonner à cet emploi du temps</a>
+ </p>{% endblock %}