From 521f120a52f2be172924e26591fa8a564f55e32e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20Eugon=C3=A9?= Date: Tue, 27 Aug 2024 09:45:18 +0200 Subject: [PATCH] Add missing "active" class on Sonata breadcrumbs last element --- .../src/Resources/views/sonata/list.html.twig | 2 +- .../src/Resources/views/sonata/show.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/batch-symfony-framework/src/Resources/views/sonata/list.html.twig b/src/batch-symfony-framework/src/Resources/views/sonata/list.html.twig index 5d4e34a9..fc6781e8 100644 --- a/src/batch-symfony-framework/src/Resources/views/sonata/list.html.twig +++ b/src/batch-symfony-framework/src/Resources/views/sonata/list.html.twig @@ -26,7 +26,7 @@ -
  • +
  • {{ 'job.name'|trans }} diff --git a/src/batch-symfony-framework/src/Resources/views/sonata/show.html.twig b/src/batch-symfony-framework/src/Resources/views/sonata/show.html.twig index 0bdb2bd1..8e00b5d7 100644 --- a/src/batch-symfony-framework/src/Resources/views/sonata/show.html.twig +++ b/src/batch-symfony-framework/src/Resources/views/sonata/show.html.twig @@ -60,7 +60,7 @@
  • {% set rootExecution = execution.rootExecution %} {% for parentPath, executionInPath in executionsPath %} -
  • +
  • {% if loop.last %} {%- include '@YokaiBatch/sonata/show/_job-name-and-id.html.twig' with {execution: executionInPath} only -%}