Bugzilla – Attachment 149836 Details for
Bug 33551
Rogue span in patron restriction types admin page title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33551: Fix HTML title on patron restrictions page
Bug-33551-Fix-HTML-title-on-patron-restrictions-pa.patch (text/plain), 1.99 KB, created by
Matt Blenkinsop
on 2023-04-19 08:09:46 UTC
(
hide
)
Description:
Bug 33551: Fix HTML title on patron restrictions page
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-04-19 08:09:46 UTC
Size:
1.99 KB
patch
obsolete
>From 0579d272888fd42b1544a90142e2d20ecb5711e0 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <span> </span> >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: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >--- > .../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' %] >-<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 >+<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 > </title> > [% INCLUDE 'doc-head-close.inc' %] > </head> >-- >2.37.1 (Apple Git-137.1)
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 33551
:
149825
|
149836
|
149843
|
149994
|
149995
|
150215
|
150226
|
150227
|
150228
|
150565
|
150617
|
150618