diff options
author | Alban Gruin | 2017-02-05 13:40:25 +0100 |
---|---|---|
committer | Alban Gruin | 2017-02-05 13:40:25 +0100 |
commit | 5363b70a7840f937f710e0a85fa83e48a35e083a (patch) | |
tree | 35371c3fc4b76a533293e97715faba87e4160fe5 /templates/timetable.html | |
parent | 49eca350c06d9c3e2c45a1215e2d98acee0535c1 (diff) |
Ré-introduction du slug de l'emploi du temps dans les urls
Diffstat (limited to 'templates/timetable.html')
-rw-r--r-- | templates/timetable.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/timetable.html b/templates/timetable.html index 882e163..c4d83b0 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -11,4 +11,4 @@ <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 %} - <p><a class="subscribe" href="{% url "subscribe" group.slug year week %}">S'abonner à cet emploi du temps</a></p>{% endblock %} + <p><a class="subscribe" href="{% url "subscribe" group.timetable.slug group.slug year week %}">S'abonner à cet emploi du temps</a></p>{% endblock %} |