From 5490a366c2acba45cc617a825904ba95eeb6b374 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Tue, 12 Sep 2017 21:42:52 +0200 Subject: Ajout d’une page contact. L’adresse email est brouillée. --- templates/contact.html | 9 +++++++++ templates/index.html | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 templates/contact.html (limited to 'templates') diff --git a/templates/contact.html b/templates/contact.html new file mode 100644 index 0000000..1359a16 --- /dev/null +++ b/templates/contact.html @@ -0,0 +1,9 @@ +{% extends "index.html" %} +{% load email %} + +{% block title %}Contacter – {% endblock %} + +{% block body %} +

Contacter

+

Pour contacter l’administrateur du service, envoyez un mail à l’adresse suivante :
{{ email|format_email }}.

+{% endblock %} diff --git a/templates/index.html b/templates/index.html index f4b105c..a685031 100644 --- a/templates/index.html +++ b/templates/index.html @@ -23,7 +23,7 @@ {% endblock %} -- cgit v1.2.1 From 89bc69f85d9ed2c697db58dc742c4129283f755b Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 24 Sep 2017 18:24:39 +0200 Subject: Correction du bas de page --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index a685031..efbb21c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -23,7 +23,7 @@ {% endblock %} -- cgit v1.2.1 From a43f7fa835fcdf9f591c3f759f5ab7545c9df5b3 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Wed, 27 Sep 2017 14:58:06 +0200 Subject: Affichage d’un message lorsque quelqu’un consulte un emploi du temps périmé --- templates/timetable.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/timetable.html b/templates/timetable.html index 7a30595..21afa24 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -4,6 +4,11 @@ {% block body %}

{{ group.timetable }} – {{ group }} – Semaine {{ week }}

-

Dernière mise à jour le {{ last_update|date:"l j F o" }} à {{ last_update|date:"H:i" }}

+

+ {% 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" }} +

{% include "timetable_common.html" %}

ICSRSSAtom

{% endblock %} -- cgit v1.2.1 From 30b58f8b8229c7ac62d886dfd79cbf7ec027f6f2 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Thu, 28 Sep 2017 22:02:16 +0200 Subject: Ajout du nom de l’emploi du temps dans la page des groupes --- templates/group_list.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/group_list.html b/templates/group_list.html index 2530865..eeb3a35 100644 --- a/templates/group_list.html +++ b/templates/group_list.html @@ -1,6 +1,8 @@ {% extends "index.html" %} {% load dt_week %} +{% block title %}{{ timetable }} – {% endblock %} + {% block body %}

{{ timetable }}