aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-11-25 14:13:42 +0100
committerAlban Gruin2017-11-25 14:13:42 +0100
commit4619a385336119b20276454264d2eaf9f6ae5995 (patch)
tree37ba5b1b8ff5c895ff1a6d935c01968946cc8842 /templates
parent1676687e0aa43cc264119a58176141bcf7401efe (diff)
Meilleur affichage de la liste des semaines
Diffstat (limited to 'templates')
-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 %}