From ff3f24fbebf874af81b984e5386fc57a4fbfe5d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 28 Dec 2020 09:02:48 +0100 Subject: [PATCH] Add organizer index template --- Resources/views/organizer/index.html.twig | 55 +++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Resources/views/organizer/index.html.twig 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 %} -- 2.41.1