From 386208dd3567bbea7105667e212d9a27057f1c84 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 --- .../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 c94a38348c4..9b799ccae28 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 4a1a2325c95..cccf659853a 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 @@
-- 2.25.1