From a61f5a3f507395c2aa0cab09f14f4308159935f6 Mon Sep 17 00:00:00 2001
From: Alban Gruin
Date: Wed, 4 Oct 2017 17:38:01 +0200
Subject: Ajout d’une description en balise meta et de liens alternate
---
templates/timetable.html | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'templates/timetable.html')
diff --git a/templates/timetable.html b/templates/timetable.html
index 9143c2f..4ab6a1a 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -1,5 +1,12 @@
{% extends "index.html" %}
+{% block head %}
+
+
+
+
+{% endblock %}
+
{% block title %}{{ group.timetable }} – {{ group }} – Semaine {{ week }} – {% endblock %}
{% block body %}
--
cgit v1.2.1
From 5939a5dc3747e8b872dd4cb0c622621c25b72c5d Mon Sep 17 00:00:00 2001
From: Alban Gruin
Date: Tue, 10 Oct 2017 18:26:37 +0200
Subject: Si la semaine courante n’a pas de cours existant, la page générale
existe quand même
---
templates/timetable.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates/timetable.html')
diff --git a/templates/timetable.html b/templates/timetable.html
index 4ab6a1a..e4dffe7 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -15,7 +15,7 @@
{% if is_old_timetable %}
Accéder à l’emploi du temps de cette semaine.
{% endif %}
- Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}
+ {% if last_update %}Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}{% endif %}
ICS – ICS séparés – RSS – Atom
{% endblock %} -- cgit v1.2.1 From c80a41ffafe3065f35f07b71063b5596d33d0ff2 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 29 Oct 2017 15:37:43 +0100 Subject: Déplacement de tous les liens vers les ICS dans une page spéciale --- templates/timetable.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/timetable.html') diff --git a/templates/timetable.html b/templates/timetable.html index b009174..fc2065f 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -18,4 +18,4 @@ {% if last_update %}Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}{% endif %} {% include "timetable_common.html" %} -ICS – ICS séparés – RSS – Atom
{% endblock %} + {% endblock %} -- cgit v1.2.1