From ce4edbf05793d5b8adce1a31718a20df1f2d52d7 Mon Sep 17 00:00:00 2001 From: Philip Orr 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. --- 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 1a57c097f41..07d54cea754 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 %] ( [% patron_message.get_column('manager_firstname') | html %] [% patron_message.get_column('manager_surname') | html %] ) [% END %] - "[% patron_message.message | html %]" + "[% patron_message.message | html | html_line_break %]" [% IF patron_message.patron_read_date %] Read: [% patron_message.patron_read_date | $KohaDates %] [% END %] -- 2.30.2