From b68e86b3e3ee9545b9c584f6c24d232443d3d8f6 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 Content-Type: text/plain; charset=utf-8 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 --- .../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.30.2