From: Raphaƫl Gertz Date: Wed, 24 Feb 2021 00:39:46 +0000 (+0100) Subject: Switch to new header system X-Git-Tag: 0.2.1~16 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/e4299e3bb280ad6fb9bd640f2cd7c6d61335f0b2 Switch to new header system Switch to article container Use common location template Improve each event display --- diff --git a/Resources/views/location/view.html.twig b/Resources/views/location/view.html.twig index 130d860..a3f28a7 100644 --- a/Resources/views/location/view.html.twig +++ b/Resources/views/location/view.html.twig @@ -1,27 +1,36 @@ {% 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 %} @@ -29,17 +38,6 @@ {% 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 %}