aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
diff options
context:
space:
mode:
authorAlban Gruin2017-09-08 11:53:49 +0200
committerAlban Gruin2017-09-08 11:53:49 +0200
commit57ffdbf0658042069abcf0b1f9184ff69a3139e2 (patch)
tree85ab2f0cf55fc85dec62b065b7eb246b7de46e4c /templates/group_list.html
parent0a287c2013bcfd1cb71926fbd0835170369521f7 (diff)
Ajout de l’année dans les urls
Diffstat (limited to 'templates/group_list.html')
-rw-r--r--templates/group_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/group_list.html b/templates/group_list.html
index d8d7227..2530865 100644
--- a/templates/group_list.html
+++ b/templates/group_list.html
@@ -5,7 +5,7 @@
<h3><a href="{{ timetable.url }}">{{ timetable }}</a></h3>
<ul>
{% for group in groups %}
- <li><a class="text"{% if group.weeks is not None %} href="{% url "timetable" timetable.slug group.slug %}"{% endif %}>{{ group }}</a> &ndash; {% for week in group.weeks %}<a href="{% url "timetable" timetable.slug group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% empty %}<em>aucun cours</em>{% endfor %}</li>
+ <li><a class="text"{% if group.weeks is not None %} href="{% url "timetable" timetable.year.slug timetable.slug group.slug %}"{% endif %}>{{ group }}</a> &ndash; {% for week in group.weeks %}<a href="{% url "timetable" timetable.year.slug timetable.slug group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% empty %}<em>aucun cours</em>{% endfor %}</li>
{% endfor %}
</ul>
{% endblock %}