aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
diff options
context:
space:
mode:
authorAlban Gruin2018-04-21 15:20:01 +0200
committerAlban Gruin2018-04-21 15:21:33 +0200
commita6d14aa482e322fcd1946ea2541272477b4f8c6b (patch)
treee8c32f4c75853e6917ea25ab35fdddb99b6a92cf /templates/group_list.html
parent7f0fa4871566050e283845ee0577603ded70df0f (diff)
Ajout d’une liste complète des groupes et d’une liste des semaines
Diffstat (limited to 'templates/group_list.html')
-rw-r--r--templates/group_list.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/group_list.html b/templates/group_list.html
index 35536b6..9c9a7fc 100644
--- a/templates/group_list.html
+++ b/templates/group_list.html
@@ -10,5 +10,10 @@
<li><a class="text"{% if group.weeks is not None %} href="{% if timetable %}{% url "timetable" timetable.year.slug timetable.slug group.slug %}{% else %}{% url "room-timetable" group.slug %}{% endif %}"{% endif %}>{{ group }}</a> &mdash; {% for week in group.weeks %}<a href="{% if timetable %}{% url "timetable" timetable.year.slug timetable.slug group.slug week.year week|dt_week %}{% else %}{% url "room-timetable" group.slug week.year week|dt_week %}{% endif %}">{{ week|dt_prettyprint }}</a> {% if not forloop.last %}&ndash; {% endif %}{% empty %}<em>aucun cours dans le mois à venir</em>{% endfor %}</li>
{% endfor %}
</ul>
- {% if timetable %}<a href="{% url "mentions" timetable.year.slug %}">Retour à la liste des mentions</a>{% else %}<a href="{% url "index" %}">Retour à la liste des années</a>{% endif %}
+ {% if timetable %}
+ <a href="{% url "mentions" timetable.year.slug %}">Retour à la liste des mentions</a> &ndash;
+ <a href="{% url "groups-all" timetable.year.slug timetable.slug %}">Tous les groupes</a>
+ {% else %}
+ <a href="{% url "index" %}">Retour à la liste des années</a>
+ {% endif %}
{% endblock %}