From 36b4c60aacae827b5ff8b6125bdfd70d7cf2a3a0 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Thu, 7 Sep 2017 22:40:57 +0200 Subject: J’ai fait des trucs mais je me suis rendu compte que c’est pas terrible, du coup je fais un commit tout pété mais ça va vite changer vous inquiétez pas. --- templates/group_list.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/group_list.html (limited to 'templates/group_list.html') diff --git a/templates/group_list.html b/templates/group_list.html new file mode 100644 index 0000000..d4c3579 --- /dev/null +++ b/templates/group_list.html @@ -0,0 +1,9 @@ +{% extends "index.html" %} + +{% block body %}{% for timetable in timetables %} +
+

{{ timetable.name }}

+ +
{% endfor %}{% endblock %} -- cgit v1.2.1 From 5767fe2b49858dd8174193ffa8c2e8b3fda1fc6c Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Thu, 7 Sep 2017 23:12:57 +0200 Subject: Utilisation du modèle Year où nécessaire --- templates/group_list.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'templates/group_list.html') diff --git a/templates/group_list.html b/templates/group_list.html index d4c3579..d8d7227 100644 --- a/templates/group_list.html +++ b/templates/group_list.html @@ -1,9 +1,11 @@ {% extends "index.html" %} +{% load dt_week %} -{% block body %}{% for timetable in timetables %} -
-

{{ timetable.name }}

- -
{% endfor %}{% endblock %} +{% block body %} +

{{ timetable }}

+ +{% endblock %} -- cgit v1.2.1 From 57ffdbf0658042069abcf0b1f9184ff69a3139e2 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Fri, 8 Sep 2017 11:53:49 +0200 Subject: Ajout de l’année dans les urls --- templates/group_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/group_list.html') diff --git a/templates/group_list.html b/templates/group_list.html index d8d7227..2530865 100644 --- a/templates/group_list.html +++ b/templates/group_list.html @@ -5,7 +5,7 @@

{{ timetable }}

{% endblock %} -- cgit v1.2.1