diff options
author | Alban Gruin | 2017-09-28 22:27:50 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-28 22:27:50 +0200 |
commit | 1d5068de5e4babb8c2c969c626fd1d8b53bc28ea (patch) | |
tree | 105d9ba1f39a8fc6b07495373cc33d2286e0d673 /templates/group_list.html | |
parent | 30b58f8b8229c7ac62d886dfd79cbf7ec027f6f2 (diff) |
Mise en commun de la template de sélection de l’année et de la mention
Diffstat (limited to 'templates/group_list.html')
-rw-r--r-- | templates/group_list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/group_list.html b/templates/group_list.html index eeb3a35..aebb0db 100644 --- a/templates/group_list.html +++ b/templates/group_list.html @@ -6,8 +6,8 @@ {% block body %} <h3><a href="{{ timetable.url }}">{{ timetable }}</a></h3> <ul> - {% for group in groups %} + {% 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> - {% endfor %} + {% endfor %} </ul> {% endblock %} |