aboutsummaryrefslogtreecommitdiff
path: root/templates/timetables_list.html
blob: d4c3579663528a3da60043d330464dd5b886bc2f (plain)
1
2
3
4
5
6
7
8
9
{% extends "index.html" %}

{% block body %}{% for timetable in timetables %}
      <section id="{{ timetable.slug }}">
        <h3><a href="{{ timetable.url }}">{{ timetable.name }}</a></h3>
        <ul>{% for group in groups %}{% if group.timetable.id == timetable.id %}
          <li><a class="text"{% if group.weeks is not None %} href="{% url "timetable" timetable.slug group.slug %}"{% endif %}>{{ group.name }}</a> &ndash; {% for week in group.weeks %}<a href="{% url "timetable" timetable.slug group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% empty %}<em>aucun cours</em>{% endfor %}</li>{% endif %}{% endfor %}
        </ul>
      </section>{% endfor %}{% endblock %}