From 4149d4a05d091056a48756a53cd56a045cdc1545 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 18 Apr 2023 18:17:37 +0000 Subject: [PATCH] Bug 33551: Fix HTML title on patron restrictions page To test: 1. Enable PatronRestrictionTypes 2. Go to Administration > Patron restrictions 3. Click 'Edit' next to MANUAL --> The title of the page (in the browser tab) contains 4. Apply patch 5. Look at the title of the page when viewing, editing, and deleteing restrictions to make sure they are correct. Signed-off-by: Sally Signed-off-by: Katrin Fischer --- .../prog/en/modules/admin/restrictions.tt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 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 c81eb99801..ad4d2fe082 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -4,8 +4,18 @@ [% 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 + [% ELSE %] + New restriction + [% END %] › + [% END %] + [% IF op == 'delete_confirm' %] + Confirm deletion of restriction › + [% END %] + Patron restrictions › Administration › Koha [% INCLUDE 'doc-head-close.inc' %] -- 2.30.2