From 818d8003848105126dbc17bbd7324ee01bf92c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 1 Oct 2024 18:37:38 +0200 Subject: [PATCH] In workflow index page, show signature or decision, not both --- .../ChillMainBundle/Resources/views/Workflow/index.html.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig index 43d225796..4decb6fec 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig @@ -62,9 +62,10 @@
{% include '@ChillMain/Workflow/_follow.html.twig' %}
{% if signatures|length > 0 %}
{% include '@ChillMain/Workflow/_signature.html.twig' %}
+ {% else %} +
{% include '@ChillMain/Workflow/_decision.html.twig' %}
{% endif %} -
{% include '@ChillMain/Workflow/_decision.html.twig' %}
{# -
{% include '@ChillMain/Workflow/_comment.html.twig' %}
#} + {#
{% include '@ChillMain/Workflow/_comment.html.twig' %}
#}
{% include '@ChillMain/Workflow/_history.html.twig' %}