From 7e4a154012c9d50f2fb056e53ae3ebd49aa952f0 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 (cherry picked from commit 1f2bdac94d5821900b35e610184b806a38ddd9f5) Signed-off-by: Fridolin Somers --- 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 d46381545b..3415bdfe4f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -70,7 +70,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 aa8366b47c..76bfa4e609 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -151,7 +151,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