aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
blob: f21b2b1024728d548e054f487cfd030364bd8673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 %}
        <li><a class="text"{% if group.weeks is not None %} href="{% url "timetable" timetable.year.slug timetable.slug group.slug %}"{% endif %}>{{ group }}</a> &mdash; {% 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> {% if not forloop.last %}&ndash; {% endif %}{% empty %}<em>aucun cours dans le mois à venir</em>{% endfor %}</li>
        {% endfor %}
      </ul>
{% endblock %}