From 3ae948f1e2bcd932dee8b7ade9c1d151a617d776 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 13 Oct 2022 15:18:04 +0200 Subject: [PATCH 1/1] New header layout New user layout Cleanup --- Resources/views/user/index.html.twig | 47 +++++++++++----------------- 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/Resources/views/user/index.html.twig b/Resources/views/user/index.html.twig index 58417a7..ab1bcba 100644 --- a/Resources/views/user/index.html.twig +++ b/Resources/views/user/index.html.twig @@ -1,50 +1,41 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
+
-

{{ section }}

-

{{ description }}

+

{{ description }}

{% 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 %} -
-

{{ day.title }}

- {% if day.sessions is not empty %} -
    - {% for session in day.sessions %} -
  • - {{ session.title }} - - {% if session.weather is defined and session.weather %}{{ session.weather }}{% endif %} - {{ session.slot }} - -
  • +
    +

    {{ user.pseudonym }}

    +
    + {% for dname, dinfos in user.dances %} +
    +
    {{ dname }}
    + {% for dtype, dlink in dinfos.types %} +
    {{ dtype }}
    {% endfor %} -
- {% else %} -   - {% endif %} + + {% endfor %}
- {% endfor %}#} + {% endfor %}
{% endif %} {{ include('@RapsysAir/form/_toolbox.html.twig') }} -- 2.41.1