From: Raphaƫl Gertz Date: Thu, 12 Aug 2021 15:39:39 +0000 (+0200) Subject: Update user inder template to diplay organizer list for non admin and X-Git-Tag: 0.2.0~88 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/7e6c49558e06e7b1018d1cb82dbe9da1b92ad4f4 Update user inder template to diplay organizer list for non admin and all for admin --- 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 %}