From 053439e50bd59a981a7f8c727818520653f484b5 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 27 Jun 2023 12:33:16 +0000 Subject: [PATCH] Bug 34131: Update breadcrumbs and side bar Update plugins-home accordingly if tool plugins only filter is being used or not. Update breadcrumbs for plugins-disabled page Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/plugins/plugins-disabled.tt | 2 +- .../prog/en/modules/plugins/plugins-home.tt | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-disabled.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-disabled.tt index c94a38348c..9b799ccae2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-disabled.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-disabled.tt @@ -13,7 +13,7 @@ [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] - Plugins + Administration [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] Plugins disabled diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt index 4a1a2325c9..cccf659853 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt @@ -15,7 +15,11 @@ [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] - Tools + [% IF ( method == 'tool' ) %] + Tools + [% ELSE %] + Administration + [% END %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] Plugins @@ -223,7 +227,11 @@