From 1724400d7c00eab138706993ea58a118672b8833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 29 Jan 2022 02:56:06 +0100 Subject: [PATCH] button requestor on the right --- .../views/Person/list_with_period.html.twig | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig index 5dc1793de..6f107a593 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig @@ -78,20 +78,6 @@ {% set app = person.findParticipationForPeriod(acp) %}
- {% if acp.requestorPerson == person %} -
-
-

- - {{ 'Requestor'|trans({'gender': person.gender}) }} - -

-
-
- -
-
- {% endif %}

@@ -113,6 +99,11 @@ {% endif %}

+ {% if acp.requestorPerson == person %} + + {{ 'Requestor'|trans({'gender': person.gender}) }} + + {% endif %} {% if acp.emergency %} {{- 'Emergency'|trans|upper -}} {% endif %} @@ -227,7 +218,7 @@
{% endif %} - +
{% endfor %}