aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
diff options
context:
space:
mode:
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 aebb0db..f21b2b1 100644
--- a/templates/group_list.html
+++ b/templates/group_list.html
@@ -7,7 +7,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.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>
+ <li><a class="text"{% if group.weeks is not None %} href="{% url "timetable" timetable.year.slug timetable.slug group.slug %}"{% endif %}>{{ group }}</a> &mdash; {% 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> {% if not forloop.last %}&ndash; {% endif %}{% empty %}<em>aucun cours dans le mois à venir</em>{% endfor %}</li>
{% endfor %}
</ul>
{% endblock %}