X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/5eaefbbc2e975fc4aee4e9897c39a7939046f22c..b0063d30d86cac177fcb60c2166a35b312b42ea6:/Resources/views/user/index.html.twig?ds=sidebyside diff --git a/Resources/views/user/index.html.twig b/Resources/views/user/index.html.twig index 2cfc6c8..58417a7 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 %}