diff options
author | Alban Gruin | 2017-11-25 14:13:42 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-25 14:13:42 +0100 |
commit | 4619a385336119b20276454264d2eaf9f6ae5995 (patch) | |
tree | 37ba5b1b8ff5c895ff1a6d935c01968946cc8842 /templates | |
parent | 1676687e0aa43cc264119a58176141bcf7401efe (diff) |
Meilleur affichage de la liste des semaines
Diffstat (limited to 'templates')
-rw-r--r-- | templates/group_list.html | 2 |
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> – {% 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> — {% 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 %}– {% endif %}{% empty %}<em>aucun cours dans le mois à venir</em>{% endfor %}</li> {% endfor %} </ul> {% endblock %} |