X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/5eaefbbc2e975fc4aee4e9897c39a7939046f22c..c677a788659bb7cd5c0ecdebc83001704e0b75e4:/Resources/views/user/index.html.twig?ds=inline 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 %}