X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/128849d5fc3fcd51e68892c591a4ba1ac920c118..3b23c9a0b80122cf6599d304885c1d457af92ada:/Resources/views/session/view.html.twig 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 %}