aboutsummaryrefslogtreecommitdiff
path: root/templates/mention_list.html
diff options
context:
space:
mode:
authorAlban Gruin2017-09-07 23:12:57 +0200
committerAlban Gruin2017-09-07 23:12:57 +0200
commit5767fe2b49858dd8174193ffa8c2e8b3fda1fc6c (patch)
tree5176298f82739e146621f8661bdf4a01f9062b0e /templates/mention_list.html
parentdaa35602eeee6b15cea2b4e92a0556de2a1b4905 (diff)
Utilisation du modèle Year où nécessaire
Diffstat (limited to 'templates/mention_list.html')
-rw-r--r--templates/mention_list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mention_list.html b/templates/mention_list.html
index 142a17a..71cfaac 100644
--- a/templates/mention_list.html
+++ b/templates/mention_list.html
@@ -3,10 +3,10 @@
{% block title %}{{ year }} – {% endblock %}
{% block body %}
- <h3>Choisissez votre mention</h3>
+ <h3>{{ year }} &ndash; Choisissez votre mention</h3>
<ul>
{% for timetable in timetables %}
- <li><a href="{% url "groups" year timetable.slug %}">{{ timetable.name }}</a></li>
+ <li><a href="{% url "groups" year.slug timetable.slug %}">{{ timetable }}</a></li>
{% empty %}
<p>Aucun emploi du temps à afficher</p>
{% endfor %}