From a6d14aa482e322fcd1946ea2541272477b4f8c6b Mon Sep 17 00:00:00 2001
From: Alban Gruin
Date: Sat, 21 Apr 2018 15:20:01 +0200
Subject: Ajout d’une liste complète des groupes et d’une liste des semaines
---
templates/group_weeks_list.html | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 templates/group_weeks_list.html
(limited to 'templates/group_weeks_list.html')
diff --git a/templates/group_weeks_list.html b/templates/group_weeks_list.html
new file mode 100644
index 0000000..c348d5d
--- /dev/null
+++ b/templates/group_weeks_list.html
@@ -0,0 +1,8 @@
+{% extends "index.html" %}
+{% load dt_week %}
+
+{% block title %}Semaines du groupe {{ group }} – {% endblock %}
+{% block pagetitle %}Semaines du groupe {{ group }}{% endblock %}
+{% block url %}{% url "timetable" timetable.year.slug timetable.slug group.slug element.year element|dt_week %}{% endblock %}
+{% block element %}{{ element|dt_prettyprint }} (semaine {{ element|dt_week }}){% endblock %}
+{% block navigation %}Liste des groupes{% endblock %}
--
cgit v1.2.1
From 4c82869e3a590c982c43958e3e4b0f9fad440678 Mon Sep 17 00:00:00 2001
From: Alban Gruin
Date: Wed, 25 Apr 2018 09:42:24 +0200
Subject: templates: remplacement de dt_prettyprint par date
---
templates/group_weeks_list.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates/group_weeks_list.html')
diff --git a/templates/group_weeks_list.html b/templates/group_weeks_list.html
index c348d5d..baf312e 100644
--- a/templates/group_weeks_list.html
+++ b/templates/group_weeks_list.html
@@ -4,5 +4,5 @@
{% block title %}Semaines du groupe {{ group }} – {% endblock %}
{% block pagetitle %}Semaines du groupe {{ group }}{% endblock %}
{% block url %}{% url "timetable" timetable.year.slug timetable.slug group.slug element.year element|dt_week %}{% endblock %}
-{% block element %}{{ element|dt_prettyprint }} (semaine {{ element|dt_week }}){% endblock %}
+{% block element %}{{ element|date:"Y/m/d" }} (semaine {{ element|dt_week }}){% endblock %}
{% block navigation %}Liste des groupes{% endblock %}
--
cgit v1.2.1