X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/c99350a6b27d74c60076ed5661cfde2b3724cea6..76aab3cd09893cd4cc84a12a568bd2faac080400:/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..1466a96 100644 --- a/Resources/views/session/view.html.twig +++ b/Resources/views/session/view.html.twig @@ -1,16 +1,7 @@ {% extends '@RapsysAir/body.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 }}

@@ -214,49 +205,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 %}