From 2063f93cfe851722bfc2d29e1e43c083e376417d Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 19 Oct 2023 04:11:09 +0000 Subject: [PATCH] Bug 33478: Make styles apply per notice Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt index fd8077bcc44..3f24b22223a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt @@ -39,7 +39,8 @@ [% SET slips = [{content => slip, is_html => !plain, style => style }] %] [% END %] [% FOR slip IN slips %] -[% IF slip.style %][% END %] +[% IF slip.style %][% END %] +
[% UNLESS slip.is_html %]
 [% IF ( slip.content ) %][% slip.content | html %][% ELSE %]No slip template found[% END %]
@@ -47,6 +48,7 @@
 [% ELSE %]
 [% IF ( slip.content ) %][% slip.content | $raw %][% ELSE %]No slip template found[% END %]
 [% END %]
+
[% IF slips.size > 1 && !loop.last%]
[% END %] [% END %] -- 2.39.2