From 3a74666a8f37f51303f5aee6fd33fec77136f079 Mon Sep 17 00:00:00 2001 From: mckmonster Date: Thu, 4 Jul 2024 20:27:25 +0200 Subject: [PATCH] N'affiche pas la page si elle est vide --- templates/edu_absences.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/edu_absences.twig b/templates/edu_absences.twig index aeb9a17..27c7104 100644 --- a/templates/edu_absences.twig +++ b/templates/edu_absences.twig @@ -1,3 +1,4 @@ +{% if groups|default %}
{% for identifier, group in groups %}
@@ -9,4 +10,5 @@
{% endfor %} - \ No newline at end of file + +{% endif %} \ No newline at end of file