From 51ab4bef3826f4dd4b06db29ac580eb5eb785eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 22 Jul 2024 23:06:49 +0200 Subject: [PATCH] Improve rendering for signature zone --- .../views/Workflow/_signature.html.twig | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig index a61808500..f613b69dd 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig @@ -1,19 +1,20 @@

{{ 'workflow.signature_zone.title'|trans }}

-
-
+
+
{% for s in signatures %} -
-
{{ s.signer|chill_entity_render_box }}
-
- {{ 'workflow.signature_zone.button_sign'|trans }} - {% if s.state is same as('signed') %} -

{{ s.stateDate }}

- {% endif %} -
+
{{ s.signer|chill_entity_render_box }}
+
+
{% endfor %}
-