Bugzilla – Attachment 164049 Details for
Bug 36452
Patron message does not respect multiple line display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36452: correct display of patron message
Bug-36452-correct-display-of-patron-message.patch (text/plain), 1.75 KB, created by
Owen Leonard
on 2024-03-28 11:24:01 UTC
(
hide
)
Description:
Bug 36452: correct display of patron message
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-03-28 11:24:01 UTC
Size:
1.75 KB
patch
obsolete
>From ae3ae64f513978ac5eb24fea14e894cb15366a21 Mon Sep 17 00:00:00 2001 >From: Philip Orr <philip.orr@lmscloud.de> >Date: Thu, 28 Mar 2024 10:34:32 +0000 >Subject: [PATCH] Bug 36452: correct display of patron message > >To test: >1. Before applying the patch: >2. In the staff interface, navigate to a patron >3. Add a new staff message that contains multiple lines (e.g. using > enter for the next line) >4. Save the message and check the display. > It will be a single line. >5. Apply the patch and navigate back to the > patron >6. The message should now be displayed as multiple lines. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >index 1a57c097f4..07d54cea75 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >@@ -313,7 +313,7 @@ > [% IF patron_message.manager_id %] > ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron_message.manager_id | uri %]">[% patron_message.get_column('manager_firstname') | html %] [% patron_message.get_column('manager_surname') | html %]</a> ) > [% END %] >- <em>"[% patron_message.message | html %]"</em> >+ <em>"[% patron_message.message | html | html_line_break %]"</em> > [% IF patron_message.patron_read_date %] > Read: <em>[% patron_message.patron_read_date | $KohaDates %]</em> > [% END %] >-- >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 36452
:
164041
|
164049
|
164216