From: Raphaƫl Gertz Date: Wed, 24 Feb 2021 00:34:06 +0000 (+0100) Subject: Switch to article container X-Git-Tag: 0.2.1~22 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/ed8b870767ae4e3ca8af97e90a2d0fb0df5f7181?ds=inline Switch to article container Switch to new header system Use common location template Improve each event display --- diff --git a/Resources/views/default/index.html.twig b/Resources/views/default/index.html.twig index 662d1ea..5ecb897 100644 --- a/Resources/views/default/index.html.twig +++ b/Resources/views/default/index.html.twig @@ -1,45 +1,43 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
-

{{ section }}

-
+
+
+

{{ section }}

+

{{ description }}

+
+
{% if calendar is defined and calendar %} -
+
{% for date, day in calendar %} -
+

{{ day.title }}

{% if day.sessions is not empty %} - {% 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 %}