From 54bb9ffe16aba5fb91aa743f7e2f5b8d176a78dc 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. Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer (cherry picked from commit 5e8059a6f83493149ecefc03b9a47c42288a26ee) Signed-off-by: Fridolin Somers --- 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 9a9ee305cb..f2f845b933 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc @@ -321,7 +321,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.39.5