From 7e6c49558e06e7b1018d1cb82dbe9da1b92ad4f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 12 Aug 2021 17:39:39 +0200 Subject: [PATCH] Update user inder template to diplay organizer list for non admin and all for admin --- Resources/views/user/index.html.twig | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Resources/views/user/index.html.twig b/Resources/views/user/index.html.twig index 2e3b1bd..bdcbfbd 100644 --- a/Resources/views/user/index.html.twig +++ b/Resources/views/user/index.html.twig @@ -6,16 +6,23 @@

{{ description }}

- {% if users is defined and users %} -
- {% for group, list in users %} + {% if groups is defined and groups %} +
+ {% for group, users in groups %} + {% endfor %} +
+ {% elseif users is defined and users %} +
+ {% for id, user in users %} + {% endfor %} {#{% for date, day in organizers %} -- 2.41.1