From 101aac8bf43ea68986dfa5147bdac1b1f686c843 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 3 Oct 2024 15:46:41 +0100 Subject: [PATCH] Bug 38070: Revert class change so notices print one per page This patch reverses the bootstrap 5 find and replace for the 'message' class. In this file the message class didn't refer to the bootstrap themeing but rather is used for applying `page-break-after: always` to these elements. Test plan 1) Line up some print notices 2) Run gather_print_notices.pl with html file output 3) Open the output file 4) Print the page to invoke the page break css 5) Note that with the patch each notice is on it's own page, without the patch all the notices run one after the other on the same page. Signed-off-by: Andrew Fuerste Henry --- koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt index c1e36c9b69..3c81202854 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt @@ -22,7 +22,7 @@ [% FOREACH message IN messages %] -
+
[% IF ( message.is_html ) %] [% message.content | $raw %] [% ELSE %] -- 2.39.5