From 95044259c8b7215e288a444fe5169a3333e9f212 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 2 Feb 2023 14:43:38 +0000 Subject: [PATCH] Bug 32787: Patron restrictions admin page has patron categories search bar This patch updates the patron restriction administration page to correct the markup around the header and breadcrumbs: Using the header WRAPPER, using the sub-header WRAPPER, and switching to the system preferences search bar. The patch also corrects the page title to prevent a leading "rsaquo;" in some cases. Note: This patch contains indentation changes, so ignore whitespace when viewing the diff. To test, apply the patch and go to Administration -> Patron restrictions. The system preferences search should be preselected in the header search bar, and everything should look correct. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 4563e3e59b3f655a257f21045fc15f1b468f1a80) Signed-off-by: Matt Blenkinsop --- .../prog/en/modules/admin/restrictions.tt | 82 ++++++++++--------- 1 file changed, 43 insertions(+), 39 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt index 0a2855af88..c225fc9a4e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -4,64 +4,68 @@ [% PROCESS 'restriction-types.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% ELSE %]New restriction[% END %][% END %] -[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% END %] › Patron restrictions › Administration › Koha +<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]' › [% ELSE %]New restriction › [% END %][% END %] +[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction %]' › [% END %]Patron restrictions › Administration › Koha [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'header.inc' %] -[% INCLUDE 'patrons-admin-search.inc' %] - -
-- 2.39.5