aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
diff options
context:
space:
mode:
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 %}