diff options
author | Alban Gruin | 2018-04-21 15:20:01 +0200 |
---|---|---|
committer | Alban Gruin | 2018-04-21 15:21:33 +0200 |
commit | a6d14aa482e322fcd1946ea2541272477b4f8c6b (patch) | |
tree | e8c32f4c75853e6917ea25ab35fdddb99b6a92cf /templates/timetable.html | |
parent | 7f0fa4871566050e283845ee0577603ded70df0f (diff) |
Ajout d’une liste complète des groupes et d’une liste des semaines
Diffstat (limited to 'templates/timetable.html')
-rw-r--r-- | templates/timetable.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/timetable.html b/templates/timetable.html index 4bb3e10..a6dc1ab 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -31,15 +31,21 @@ <a href="{% if group_mode %}{% url "timetable" timetable.year.slug timetable.slug group.slug last_week.year last_week|dt_week %}{% else %}{% url "room-timetable" group.slug last_week.year last_week|dt_week %}{% endif %}"> Semaine {{ last_week|dt_week }} </a> - {% if next_week is not None %} – {% endif %} + – {% endif %} {% if next_week is not None %} <a href="{% if group_mode %}{% url "timetable" timetable.year.slug timetable.slug group.slug next_week.year next_week|dt_week %}{% else %}{% url "room-timetable" group.slug next_week.year next_week|dt_week %}{% endif %}"> Semaine {{ next_week|dt_week }} </a> + – {% endif %} {% if group_mode %} - {% if last_week is not None or next_week is not None %}<br />{% endif %} + <a href="{% url "group-weeks" timetable.year.slug timetable.slug group.slug %}">Liste des semaines</a> + {% else %} + <a href="{% url "room-weeks" group.slug %}">Liste des semaines</a> + {% endif %} + <br /> + {% if group_mode %} <a href="{% url "calendars" timetable.year.slug timetable.slug group.slug %}">ICS</a> – <a href="{% url "rss" timetable.year.slug timetable.slug group.slug %}">RSS</a> – <a href="{% url "atom" timetable.year.slug timetable.slug group.slug %}">Atom</a> |