aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/group_list.html1
-rw-r--r--templates/index.html1
-rw-r--r--templates/qsjps_form.html1
-rw-r--r--templates/timetable.html1
4 files changed, 4 insertions, 0 deletions
diff --git a/templates/group_list.html b/templates/group_list.html
index 7fe1fe8..5f53cb4 100644
--- a/templates/group_list.html
+++ b/templates/group_list.html
@@ -10,4 +10,5 @@
<li><a class="text"{% if group.weeks is not None %} href="{% if timetable %}{% url "timetable" timetable.year.slug timetable.slug group.slug %}{% else %}{% url "room-timetable" group.slug %}{% endif %}"{% endif %}>{{ group }}</a> &mdash; {% for week in group.weeks %}<a href="{% if timetable %}{% url "timetable" timetable.year.slug timetable.slug group.slug week.year week|dt_week %}{% else %}{% url "room-timetable" group.slug week.year week|dt_week %}{% endif %}">{{ week|dt_prettyprint }}</a> {% if not forloop.last %}&ndash; {% endif %}{% empty %}<em>aucun cours dans le mois à venir</em>{% endfor %}</li>
{% endfor %}
</ul>
+ {% if timetable %}<a href="{% url "mentions" timetable.year.slug %}">Retour à la liste des mentions</a>{% else %}<a href="{% url "index" %}">Retour à la liste des années</a>{% endif %}
{% endblock %}
diff --git a/templates/index.html b/templates/index.html
index 71665bc..5779b3e 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -21,6 +21,7 @@
<p><em>Aucun emploi du temps à afficher</em></p>
{% endfor %}
</ul>
+ {% if year %}<a href="{% url "index" %}">Retour à la liste des années</a>{% else %}<a href="{% url "rooms" %}">Emploi du temps des salles</a>{% endif %}
{% endblock %}
</div>
<footer>
diff --git a/templates/qsjps_form.html b/templates/qsjps_form.html
index b68143f..280a7ad 100644
--- a/templates/qsjps_form.html
+++ b/templates/qsjps_form.html
@@ -15,4 +15,5 @@
<tr><th></th><td><input type="submit" value="Trouver une salle" /></td></tr>
</table>
</form>
+ <a href="{% url "rooms" %}">Retour à la liste des salles</a>
{% endblock %}
diff --git a/templates/timetable.html b/templates/timetable.html
index 7811427..5848e04 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -20,6 +20,7 @@
</p>
{% include "timetable_common.html" %}
<p class="subscribe">
+ {% if group_mode %}<a href="{% url "groups" timetable.year.slug timetable.slug %}">Retour à la liste des groupes</a>{% else %}<a href="{% url "rooms" %}">Retour à la liste des salles</a>{% endif %} &ndash;
{% if last_week is not None %}<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 %} &ndash; {% 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 "calendars" timetable.year.slug timetable.slug group.slug %}">ICS</a> &ndash; <a href="{% url "rss" timetable.year.slug timetable.slug group.slug %}">RSS</a> &ndash; <a href="{% url "atom" timetable.year.slug timetable.slug group.slug %}">Atom</a>{% endif %}