aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorAlban Gruin2017-02-05 13:40:25 +0100
committerAlban Gruin2017-02-05 13:40:25 +0100
commit5363b70a7840f937f710e0a85fa83e48a35e083a (patch)
tree35371c3fc4b76a533293e97715faba87e4160fe5 /templates/index.html
parent49eca350c06d9c3e2c45a1215e2d98acee0535c1 (diff)
RĂ©-introduction du slug de l'emploi du temps dans les urls
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index a89ab68..9e454e3 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -61,7 +61,7 @@ li.course {
<section id="{{ timetable.slug }}">
<h3><a href="{{ timetable.url }}">{{ timetable.name }}</a></h3>
<ul>{% for group in groups %}{% if group.timetable.id == timetable.id %}
- <li><a class="text" href="{% url "timetable" group.slug %}">{{ group.name }}</a> &ndash; {% for week in group.weeks %}<a href="{% url "timetable" group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% endfor %}</li>{% endif %}{% endfor %}
+ <li><a class="text" href="{% url "timetable" timetable.slug group.slug %}">{{ group.name }}</a> &ndash; {% for week in group.weeks %}<a href="{% url "timetable" timetable.slug group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% endfor %}</li>{% endif %}{% endfor %}
</ul>
</section>{% endfor %}{% endblock %}
</div>