From: Raphaƫl Gertz Date: Thu, 13 Oct 2022 13:18:04 +0000 (+0200) Subject: New header layout X-Git-Tag: 0.3.0~168 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/3ae948f1e2bcd932dee8b7ade9c1d151a617d776?ds=sidebyside New header layout New user layout Cleanup --- 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') }}