From d70cb7f46cb73ab7884b6f9fd825c10e98f1bbc7 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 12 Dec 2024 13:01:23 +0000 Subject: [PATCH] Bug 38685: Only render breadcrumb item if content not empty This ensures the '>' caret is only rendered if there is indeed some breadcrumb content. Signed-off-by: Owen Leonard --- .../prog/en/includes/html_helpers.inc | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index d5af13c7dc..c91cedfe99 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -474,16 +474,18 @@ [%# Used to build individual breadcrumb items in the breadcrumb nav %] [% BLOCK breadcrumb_item %] - [% IF ( bc_active ) %] - + [% ELSE %] + - [% ELSE %] - + + [% END %] [% END %] [% END %] -- 2.39.5