X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/8ea0fc0ff31eca86e21e539d59365552fd45ce6a..4c554a3939e7f481f10e64ac5d442abda538f016:/Resources/views/user/index.html.twig diff --git a/Resources/views/user/index.html.twig b/Resources/views/user/index.html.twig index 2cfc6c8..bdcbfbd 100644 --- a/Resources/views/user/index.html.twig +++ b/Resources/views/user/index.html.twig @@ -1,22 +1,32 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
-

{{ section }}

+
+
+

{{ section }}

+

{{ description }}

+
- {% if organizers is defined and organizers %} -
- {% for group, users in organizers %} -
+ {% 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 %}
    @@ -33,23 +43,12 @@ {% else %}   {% endif %} -
+ {% endfor %}#}
{% endif %} {{ include('@RapsysAir/form/_toolbox.html.twig') }} -
- {% if locations is defined and locations %} -
-

{% trans %}Locations{% endtrans %}

-
- {% for id, title in locations %} -
-

{{ title }}

-
- {% endfor %} -
-
- {% endif %} + + {{ include('@RapsysAir/default/_location.html.twig') }} {% endblock %}