From 376497b704a832fed01738d8b29143f3f97fe339 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 24 Jul 2025 16:15:28 +0200 Subject: [PATCH] Move up signature buttons above attachments in workflow index page --- .../Resources/views/Workflow/index.html.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig index 27af88296..8805bc545 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig @@ -58,12 +58,14 @@ {% endif %} + {% if signatures|length > 0 %} +
{% include '@ChillMain/Workflow/_signature.html.twig' %}
+ {% endif %} +
{% include '@ChillMain/Workflow/_attachment.html.twig' %}
{% include '@ChillMain/Workflow/_follow.html.twig' %}
- {% if signatures|length > 0 %} -
{% include '@ChillMain/Workflow/_signature.html.twig' %}
- {% elseif entity_workflow.currentStep.sends|length > 0 %} + {% if entity_workflow.currentStep.sends|length > 0 %}

{{ 'workflow.external_views.title'|trans({'numberOfSends': entity_workflow.currentStep.sends|length }) }}

{% include '@ChillMain/Workflow/_send_views_list.html.twig' with {'sends': entity_workflow.currentStep.sends} %}