From 9b32ca543e0381e4a6f401ae16bee2afa4c13a1c Mon Sep 17 00:00:00 2001 From: sebastien <2le@2le.net> Date: Fri, 27 Oct 2023 11:37:26 +0200 Subject: [PATCH] badge sur sous listes --- src/Resources/views/brick/sublist_items/index.html.twig | 6 ++++++ src/Resources/views/brick/tab/index.html.twig | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Resources/views/brick/sublist_items/index.html.twig b/src/Resources/views/brick/sublist_items/index.html.twig index f0ce0c86..ec11018a 100644 --- a/src/Resources/views/brick/sublist_items/index.html.twig +++ b/src/Resources/views/brick/sublist_items/index.html.twig @@ -3,6 +3,12 @@
{% if tab is defined %} {% include("@LleCrudit/brick/list_items/_pager.html.twig") with { tab: tab } %} + {% else %} {% include("@LleCrudit/brick/list_items/_pager.html.twig") %} {% endif %} diff --git a/src/Resources/views/brick/tab/index.html.twig b/src/Resources/views/brick/tab/index.html.twig index 9163a887..0f64db52 100644 --- a/src/Resources/views/brick/tab/index.html.twig +++ b/src/Resources/views/brick/tab/index.html.twig @@ -17,10 +17,12 @@ ) %} {% set active = true %} active - {% endif %}" + {% endif %} position-relative" data-bs-toggle="tab" href="#{{ tab.id }}" - role="tab" type="button">{{ tab.label|trans(domain=view.config.translation_domain) }} + role="tab" type="button">{{ tab.label|trans(domain=view.config.translation_domain) }} + + {% endif %} {% endfor %}