From: Raphaƫl Gertz Date: Mon, 28 Dec 2020 08:02:48 +0000 (+0100) Subject: Add organizer index template X-Git-Tag: 0.1.7~11 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/ff3f24fbebf874af81b984e5386fc57a4fbfe5d8?hp=2a3ceb5f7c6ee3ce58a6a0d1900ea04dd849b2b7 Add organizer index template --- diff --git a/Resources/views/organizer/index.html.twig b/Resources/views/organizer/index.html.twig new file mode 100644 index 0000000..2cfc6c8 --- /dev/null +++ b/Resources/views/organizer/index.html.twig @@ -0,0 +1,55 @@ +{% extends '@RapsysAir/body.html.twig' %} +{% block content %} +
+

{{ section }}

+
+ {% if organizers is defined and organizers %} +
+ {% for group, users in organizers %} +
+

{{ group }}

+ +
+ {% 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 }} + +
  • + {% endfor %} +
+ {% 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 %} +{% endblock %}