aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
diff options
context:
space:
mode:
authorAlban Gruin2017-10-03 09:28:49 +0200
committerAlban Gruin2017-10-03 09:28:49 +0200
commitae3358c1296a02352409910a9ffcc2307d5ea87a (patch)
treeb47df3b99f639acc24d751cc0a6a73937c10069b /templates/group_list.html
parent9641fc9bb6ef2897c0d70e6d5d5ed3f8e295dbec (diff)
parent175fcd46f56d8c1c5d10a50b401c09c25cfcdf82 (diff)
Merge branch 'stable/0.10.z' into prod/pa1ch/0.y.zv0.10.0-pa1ch
Diffstat (limited to 'templates/group_list.html')
-rw-r--r--templates/group_list.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/group_list.html b/templates/group_list.html
index 2530865..aebb0db 100644
--- a/templates/group_list.html
+++ b/templates/group_list.html
@@ -1,11 +1,13 @@
{% extends "index.html" %}
{% load dt_week %}
+{% block title %}{{ timetable }} – {% endblock %}
+
{% 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> &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>
- {% endfor %}
+ {% endfor %}
</ul>
{% endblock %}