From 830e85468853c78906651f689cfbd619350955ee Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 19 Aug 2022 18:00:37 +0000 Subject: [PATCH] Bug 31425: Minor correction to patron categories admin title MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch corrects the patron categories administration template so that an extra angle bracket isn't included in the page title on the main view. To test, apply the patch and go to Administration -> Patron categories. The page title should read: Patron categories › Administration › Koha ...with no extra "›" at the beginning. Check that other views (new, edit, delete) are unaffected. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 9c11c588c11bf50888796a6d1fe175a2ddc853bd) Signed-off-by: Lucas Gass --- .../prog/en/modules/admin/categories.tt | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt index 5ed1aba71a..0bf91ecc59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt @@ -7,9 +7,25 @@ [% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -[% IF op == 'add_form' %][% IF ( categorycode ) %]Modify category '[% categorycode | html %]'[% ELSE %]New category[% END %][% END %] -[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode | html %] in use[% ELSE %]Confirm deletion of category '[% categorycode | html %]'[% END %][% END %] › Patron categories › Administration › Koha - +[% FILTER collapse %] + [% IF op == 'add_form' %] + [% IF ( categorycode ) %] + Modify category '[% categorycode | html %]' + [% ELSE %] + New category + [% END %] + › + [% END %] + [% IF op == 'delete_confirm' %] + [% IF ( patrons_in_category > 0 ) %] + Cannot delete: category [% categorycode | html %] in use + [% ELSE %] + Confirm deletion of category '[% categorycode | html %]' + [% END %] + › + [% END %] + Patron categories › Administration › Koha +[% END %] [% INCLUDE 'doc-head-close.inc' %] -- 2.39.5