From 1f2bdac94d5821900b35e610184b806a38ddd9f5 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 3 Nov 2023 17:48:00 +0000 Subject: [PATCH] Bug 35253: Add classes to materials specfied message on check in and checkout To test: 1. APPLY PATCH 2. Add a materials specified message to an item. ( 952$3 ) 3. Add the following CSS to your IntranetUserCSS: .mats_spec_label { color: white; background: purple; } .mats_spec_message { color: white; background: green; } 4. Checkout that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. 5. Check in that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 +++- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 649a3d42b5..f1881c7f6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -72,7 +72,9 @@ [% END %] [% IF ADDITIONAL_MATERIALS && !NEEDSCONFIRMATION %] -
Note about the accompanying materials: [% ADDITIONAL_MATERIALS | html %] +
+ Note about the accompanying materials: + [% ADDITIONAL_MATERIALS | html %]
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index da493f261e..9ccebc2f54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -157,7 +157,8 @@ [% IF additional_materials && !needs_confirm && !multiple_confirmed %]
- Note about the accompanying materials: [% additional_materials | html %] + Note about the accompanying materials: + [% additional_materials | html %]
[% END %] -- 2.39.5