From 74ca28132323c2d893c843a7b50e7349289b5c07 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 24 Apr 2023 10:51:50 +0000 Subject: [PATCH] Bug 33582: Use template wrapper for breadcrumbs: Tools, part 4 This patch updates several templates in the tools directory so that they use the new WRAPPER for displaying breadcrumbs. To test, apply the patch and test each page and its variations. Breadcrumbs should look correct, and each link should be correct. - Tools -> - Notices and slips - New notice - Edit notice - Confirm deletion - Batch patron modification - Overdue notice/status triggers - Cataloging -> - Manage staged records - Batch details - MARC modification templates - Edit actions for a template Signed-off-by: Barbara Johnson Signed-off-by: Lucas Gass --- .../prog/en/modules/tools/letter.tt | 81 +++++++------------ .../en/modules/tools/manage-marc-import.tt | 35 +++----- .../tools/marc_modification_templates.tt | 35 +++----- .../prog/en/modules/tools/modborrowers.tt | 21 ++--- .../prog/en/modules/tools/overduerules.tt | 23 ++---- 5 files changed, 72 insertions(+), 123 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 910deebfef..a3919205d2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -55,67 +55,46 @@ [% END %] [% WRAPPER 'sub-header.inc' %] - - [% END %] + [% WRAPPER breadcrumb_item bc_active= 1 %] + Notices and slips + [% END %] + [% END # /IF ( delete_confirm ) %] + [% END # /IF ( add_validate or copy_validate) %] + [% END # /IF ( add_form or copy_form) %] + [% END #/ WRAPPER breadcrumbs %] + [% END #/ WRAPPER sub-header.inc %]