From c6cb14b3c6f5fc16de2bb97d9739e1692a894495 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 Signed-off-by: Katrin Fischer --- 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 fd8077bcc4..3f24b22223 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.5