Bugzilla – Attachment 33950 Details for
Bug 12123
HTML notices can break the notice viewer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12123 - [Alternative patch] HTML notices can break the notice viewer
SIGNED-OFF-Bug-12123---Alternative-patch-HTML-noti.patch (text/plain), 1.84 KB, created by
Owen Leonard
on 2014-11-26 13:30:52 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12123 - [Alternative patch] HTML notices can break the notice viewer
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-11-26 13:30:52 UTC
Size:
1.84 KB
patch
obsolete
>From 0fce4d98fd2e19aace64fc8e217841073639d6b6 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Tue, 25 Nov 2014 12:03:50 +1300 >Subject: [PATCH] [SIGNED-OFF] Bug 12123 - [Alternative patch] HTML notices > can break the notice viewer >Content-Type: text/plain; charset="utf-8" > >Depending on the content of an html notice, it can cause the notice to >either not be collapsible, be uncollapsible, or to be permanently >collapsed. > >Test Plan: >1) Set your CHECKOUT notice to the following ( with HTML Message checked ) : ><p>The following items have been checked out:</p> > >---- ><blockquote> <<biblio.title>> </blockquote> >---- > ><p>Thank you for visiting the <<branches.branchname>> of HMCPL.</p> >2) Check out some items to a patron >3) View the patrn's notices >4) Note the notice viewer is broken ( message is not collapsed, and > con't be collapsed ). >5) Apply this patch >6) Reload the page >7) Note the notice viewer is no longer broken > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >This patch appears to fix the problem with the minimum required change. >--- > .../prog/en/modules/members/notices.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >index 31d40ba..50c7d0e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >@@ -55,9 +55,9 @@ > <tr> > <td> > <a class="notice-title" href="#">[% QUEUED_MESSAGE.subject %]</a> >- <p class="notice"> >+ <div class="notice"> > [% QUEUED_MESSAGE.content FILTER html_line_break %] >- </p> >+ </div> > </td> > <td> > [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email >-- >1.7.9.5
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 12123
:
27402
|
27403
|
33863
|
33876
|
33882
|
33885
|
33888
|
33950
|
33976
|
73650
|
73758
|
74113
|
74169