diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig index 48f7ef361..f469e7f66 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig @@ -37,7 +37,7 @@

{{ handler.entityTitle(entity_workflow) }}

- {{ macro.breadcrumb({'entity_workflow': entity_workflow}) }} + {{ macro.breadcrumb(entity_workflow) }} {% if entity_workflow.isOnHoldAtCurrentStep %} {{ 'workflow.On hold'|trans }} {% endif %} diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/list.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/list.html.twig index 5dd6dc714..d9e86c3f4 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/list.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/list.html.twig @@ -68,7 +68,7 @@
- {{ macro.breadcrumb(l) }} + {{ macro.breadcrumb(l.entity_workflow) }} {% if l.entity_workflow.isOnHoldAtCurrentStep %} {{ 'workflow.On hold'|trans }} {% endif %} diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/macro_breadcrumb.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/macro_breadcrumb.html.twig index 6a1c66ae7..b0141aae7 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/macro_breadcrumb.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/macro_breadcrumb.html.twig @@ -52,10 +52,10 @@ {% endif %} {% endmacro %} -{% macro breadcrumb(_ctx) %} +{% macro breadcrumb(entity_workflow) %}