diff options
author | Alban Gruin | 2017-09-08 11:53:49 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-08 11:53:49 +0200 |
commit | 57ffdbf0658042069abcf0b1f9184ff69a3139e2 (patch) | |
tree | 85ab2f0cf55fc85dec62b065b7eb246b7de46e4c /templates/group_list.html | |
parent | 0a287c2013bcfd1cb71926fbd0835170369521f7 (diff) |
Ajout de l’année dans les urls
Diffstat (limited to 'templates/group_list.html')
-rw-r--r-- | templates/group_list.html | 2 |
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> – {% 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> – {% 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 %} |