aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorAlban Gruin2017-01-25 14:25:04 +0100
committerAlban Gruin2017-01-25 14:25:04 +0100
commita4a3aa91a9eacf0f67442d79d8aaee01b7a1256b (patch)
tree7926f34aba06cebf98d612dfc1273f8073d3b35f /templates/index.html
parenta98fcce79627994f397d457677082b9c5e1b6192 (diff)
Suppression du slug de l'emploi du temps dans les URLs ainsi que sa récupération manuelle inutile car
déjà référencée par le groupe
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 5fe6678..812a991 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>{{ group.name }} &ndash; {% for week in group.weeks %}<a href="{% url "timetable" timetable.slug week.year week|dt_week group.slug %}">{{ week|dt_prettyprint }}</a> {% endfor %}</li>{% endif %}{% endfor %}
+ <li>{{ group.name }} &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 %}
</ul>
</section>{% endfor %}{% endblock %}
</div>