From 9809993853b495359a9f16c8759dcc394f0ccd62 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit e4849e750b8e6cbfefa3e3f1177dbc6520e1d681) Signed-off-by: Martin Renvoize --- .../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 %]