Bugzilla – Attachment 139521 Details for
Bug 31425
Minor correction to patron categories admin title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31425: Minor correction to patron categories admin title
Bug-31425-Minor-correction-to-patron-categories-ad.patch (text/plain), 2.41 KB, created by
David Nind
on 2022-08-19 19:34:08 UTC
(
hide
)
Description:
Bug 31425: Minor correction to patron categories admin title
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-08-19 19:34:08 UTC
Size:
2.41 KB
patch
obsolete
>From 6ca2f591d646051e55f134e137fa97496cb1d4a7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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=UTF-8 >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 <david@davidnind.com> >--- > .../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 11b87eb5d9..1982459a7e 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' %] >-<title>[% 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 >-</title> >+<title>[% 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 %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style>#enrolmentmessage.hint { display : none; }</style> > </head> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31425
:
139511
|
139521
|
139524