aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
diff options
context:
space:
mode:
authorAlban Gruin2017-09-09 16:39:30 +0200
committerAlban Gruin2017-09-09 16:39:30 +0200
commit5c96538dfe708c4429d13397caedeb0b84a65b5a (patch)
tree855a9f31cb40a35805129d4f9edd3eac274cc11f /templates/group_list.html
parentab9df7a174e2debbf9c644c8ec3e2127eeeaa3cf (diff)
parent60ea5a0e2a5f61f7f764bcf01aafb362781c16da (diff)
Merge branch 'stable/0.9.z' into prod/pa1ch/0.y.z
Diffstat (limited to 'templates/group_list.html')
-rw-r--r--templates/group_list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/group_list.html b/templates/group_list.html
new file mode 100644
index 0000000..2530865
--- /dev/null
+++ b/templates/group_list.html
@@ -0,0 +1,11 @@
+{% extends "index.html" %}
+{% load dt_week %}
+
+{% block body %}
+ <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> &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 %}
+ </ul>
+{% endblock %}