Bugzilla – Attachment 147218 Details for
Bug 32492
Improve mark-up of OPAC messaging table to ease customization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32492: (follow-up) Add missing HTML filters
Bug-32492-follow-up-Add-missing-HTML-filters.patch (text/plain), 2.83 KB, created by
Jonathan Druart
on 2023-02-23 10:31:04 UTC
(
hide
)
Description:
Bug 32492: (follow-up) Add missing HTML filters
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-02-23 10:31:04 UTC
Size:
2.83 KB
patch
obsolete
>From d568748a962e232e610ef96a1d62a5990e2f11c5 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 13 Feb 2023 13:37:32 +0000 >Subject: [PATCH] Bug 32492: (follow-up) Add missing HTML filters > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../prog/en/includes/messaging-preference-form.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc >index 6290f6f7a91..6e08c2ee160 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc >@@ -18,7 +18,7 @@ > [% FOREACH messaging_preference IN messaging_preferences %] > [% NEXT IF !Koha.Preference( 'ILLModule' ) && messaging_preference.message_name.match('^Ill_') %] > [% NEXT IF messaging_preference.Auto_Renewals && Koha.Preference('AutoRenewalNotices') != 'preferences' %] >- <tr id="[% messaging_preference.message_name _ "_message" | lower %]"> >+ <tr id="[% messaging_preference.message_name _ "_message" | lower | html %]"> > <td>[% IF ( messaging_preference.Item_Due ) %]<span>Item due</span> > [% ELSIF ( messaging_preference.Advance_Notice ) %]<span>Advance notice</span> > [% ELSIF ( messaging_preference.Hold_Filled ) %]<span>Hold filled</span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >index f7b52b53540..863e56664b3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >@@ -62,7 +62,7 @@ > [% FOREACH messaging_preference IN messaging_preferences %] > [% NEXT IF !Koha.Preference( 'ILLModule' ) && messaging_preference.message_name.match('^Ill_') %] > [% NEXT IF messaging_preference.Auto_Renewals && Koha.Preference('AutoRenewalNotices') != 'preferences' %] >- <tr id="[% messaging_preference.message_name _ "_message" | lower %]"> >+ <tr id="[% messaging_preference.message_name _ "_message" | lower | html %]"> > <td>[% IF ( messaging_preference.Item_Due ) %]<span>Item due</span> > [% ELSIF ( messaging_preference.Advance_Notice ) %]<span>Advance notice</span> > [% ELSIF ( messaging_preference.Hold_Filled ) %]<span>Hold filled</span> >-- >2.25.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 32492
:
146525
|
146580
|
146581
|
147217
|
147218
|
147220
|
147221