From: Raphaƫl Gertz Date: Sun, 29 Nov 2020 06:52:25 +0000 (+0100) Subject: Change layout to have only section with subtitle inside X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/5644df8eccc32508f89b23aced169f3e93b82052?ds=sidebyside Change layout to have only section with subtitle inside --- diff --git a/Resources/views/session/view.html.twig b/Resources/views/session/view.html.twig index fe341d5..3fbdd73 100644 --- a/Resources/views/session/view.html.twig +++ b/Resources/views/session/view.html.twig @@ -1,81 +1,79 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
+

{{ session.title }}

-
-
-
-
-

{% trans %}Location{% endtrans %}

-
{{ session.location.title }}
-
-
-

{% trans %}Slot{% endtrans %}

-
{{ session.slot.title }}
-
-
-

{% trans %}Created{% endtrans %}

-
{{ session.created.format('Y-m-d H:i:s') }}
-
-
-

{% trans %}Updated{% endtrans %}

-
{{ session.updated.format('Y-m-d H:i:s') }}
-
-
-
-
-

{% trans %}Attributed to{% endtrans %}

- {% if session.application is null %} -
{% trans %}None{% endtrans %}
- {% else %} -
{{ session.application.user.title }}
- {% endif %} -
-
-

{% trans %}Begin{% endtrans %}

- {% if session.begin is null %} -
{% trans %}None{% endtrans %}
- {% else %} -
{{ session.begin.format('Y-m-d H:i:s') }}
- {% endif %} -
-
-

{% trans %}End{% endtrans %}

- {% if session.end is null %} -
{% trans %}None{% endtrans %}
- {% else %} -
{{ session.end.format('Y-m-d H:i:s') }}
- {% endif %} -
-
-
+
+
+
+

{% trans %}Location{% endtrans %}

+ {{ session.location.title }} +
+
+

{% trans %}Slot{% endtrans %}

+ {{ session.slot.title }} +
+
+

{% trans %}Created{% endtrans %}

+ {{ session.created.format('Y-m-d H:i:s') }} +
+
+

{% trans %}Updated{% endtrans %}

+ {{ session.updated.format('Y-m-d H:i:s') }} +
+
+

{% trans %}Attributed to{% endtrans %}

+ {% if session.application is null %} + {% trans %}None{% endtrans %} + {% else %} + {{ session.application.user.title }} + {% endif %} +
+
+

{% trans %}Begin{% endtrans %}

+ {% if session.begin is null %} + {% trans %}None{% endtrans %} + {% else %} + {{ session.begin.format('Y-m-d H:i:s') }} + {% endif %} +
+
+

{% trans %}End{% endtrans %}

+ {% if session.end is null %} + {% trans %}None{% endtrans %} + {% else %} + {{ session.end.format('Y-m-d H:i:s') }} + {% endif %} +
+
+ {{ include('@RapsysAir/form/_toolbox.html.twig') }} +
+
+
+

{% trans %}Candidates{% endtrans %}

-
+
{% if session.applications is null %} {% trans %}None{% endtrans %} {% else %} {% for application in session.applications %} -
-

{{ application.user.title }}

-
-
-
{% trans %}Created{% endtrans %}
-
{{ application.created.format('Y-m-d H:i:s') }}
-
-
-
{% trans %}Updated{% endtrans %}
-
{{ application.updated.format('Y-m-d H:i:s') }}
-
-
-
+
+

{{ application.user.title }}

+
+
{% trans %}Created{% endtrans %}
+
{{ application.created.format('Y-m-d H:i:s') }}
+
+
+
{% trans %}Updated{% endtrans %}
+
{{ application.updated.format('Y-m-d H:i:s') }}
+
+
{% endfor %} {% endif %}
-
-
- {{ include('@RapsysAir/form/_toolbox.html.twig') }} -
+
+ +
{% endblock %}