X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/c99350a6b27d74c60076ed5661cfde2b3724cea6..0f09ede543b60204768e54f05d4fff0f39e7e57c:/Resources/views/session/view.html.twig?ds=sidebyside diff --git a/Resources/views/session/view.html.twig b/Resources/views/session/view.html.twig index aca1710..3c345f9 100644 --- a/Resources/views/session/view.html.twig +++ b/Resources/views/session/view.html.twig @@ -1,17 +1,9 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %} -
+
- {#

- {% if session.application.id is defined and session.application.id %} - {{ session.application.dance.title ~ ' ' ~ session.id }} - {{ session.application.user.by }} - {% else %} - {{ title }} - {% endif %} - {{ session.location.at }} -

#} -

{{ description }}

+

{{ title.page }}

+

{{ description }}

@@ -214,49 +206,53 @@

{% trans %}Candidates{% endtrans %}

-
- {% if session.applications is defined and session.applications %} - {% for application in session.applications %} -
- {% if application.user.id == 1 and application.user.title|slug == 'milonga-raphael' %} -

{{ application.user.title }}

- {% else %} -

{{ application.user.title }}

- {% endif %} -
-
{% trans %}Score{% endtrans %}
-
- {% if application.score is null %} - {% trans %}None{% endtrans %} - {% else %} - {{ application.score }}
- {% endif %} -
-
-
{% trans %}Created{% endtrans %}
-
{{ application.created|intldate('long', 'medium') }}
-
-
-
{% trans %}Updated{% endtrans %}
-
{{ application.updated|intldate('long', 'medium') }}
-
-
-
{% trans %}Canceled{% endtrans %}
-
- {% if application.canceled is null %} - {% trans %}None{% endtrans %} +
+
+ {% if session.applications is defined and session.applications %} + {% for application in session.applications %} +
+
+ {% if application.user.id == 1 and application.user.title|slug == 'milonga-raphael' %} +

{{ application.user.title }}

{% else %} - {{ application.canceled|intldate('long', 'medium') }} +

{{ application.user.title }}

{% endif %} -
-
+ +
+
{% trans %}Score{% endtrans %}
+
+ {% if application.score is null %} + {% trans %}None{% endtrans %} + {% else %} + {{ application.score }}
+ {% endif %} +
+
+
{% trans %}Created{% endtrans %}
+
{{ application.created|intldate('long', 'medium') }}
+
+
+
{% trans %}Updated{% endtrans %}
+
{{ application.updated|intldate('long', 'medium') }}
+
+
+
{% trans %}Canceled{% endtrans %}
+
+ {% if application.canceled is null %} + {% trans %}None{% endtrans %} + {% else %} + {{ application.canceled|intldate('long', 'medium') }} + {% endif %} +
+
+
+ {% endfor %} + {% else %} +
+ {% trans %}None{% endtrans %}
- {% endfor %} - {% else %} -
- {% trans %}None{% endtrans %} -
- {% endif %} + {% endif %} +
{% endif %}