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 +++++++++------- templates/index.html | 4 ++-- templates/mention_list.html | 4 ++-- 3 files changed, 13 insertions(+), 11 deletions(-) (limited to 'templates') 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 %} diff --git a/templates/index.html b/templates/index.html index 09bb0f6..e33f92a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,4 @@ -{% load dt_week %} + @@ -63,7 +63,7 @@ li.course {

Choisissez votre année