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 }}
- {% for group in groups %}{% if group.timetable.id == timetable.id %}
-
-
Aucun emploi du temps à afficher
{% endfor %} diff --git a/templates/mention_list.html b/templates/mention_list.html index 142a17a..71cfaac 100644 --- a/templates/mention_list.html +++ b/templates/mention_list.html @@ -3,10 +3,10 @@ {% block title %}{{ year }} – {% endblock %} {% block body %} -Aucun emploi du temps à afficher
{% endfor %} -- cgit v1.2.1