aboutsummaryrefslogtreecommitdiff
path: root/templates/group_list.html
blob: bca8c70e60bd051a611ab73647b1972f2c6bffe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "index.html" %}
{% load dt_week %}

{% block title %}{{ timetable }} – {% endblock %}
{% block pagetitle %}<a href="{{ timetable.source.url }}">{{ timetable }}</a>{% endblock %}

{% block lelement %}<a class="text"{% if element.weeks is not None %} href="{% block gurl %}{% url "timetable" timetable.year.slug timetable.slug element.slug %}{% endblock %}"{% endif %}>{{ element }}</a> &mdash;
{% for week in element.weeks %}
  <a href="{% block wurl %}{% url "timetable" timetable.year.slug timetable.slug element.slug week.year week|dt_week %}{% endblock %}">{{ week|dt_prettyprint }}</a> {% if not forloop.last %}&ndash; {% endif %}
{% empty %}
  <em>aucun cours dans le mois à venir</em>
{% endfor %}
{% endblock %}

{% block navigation %}<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>{% endblock %}