From d664dd5ca79b4cabb6b221b95a3aca969087e79e 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 --- 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 cdd223688f..2256e76a5c 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 5154b71b0b..e29fdc69d7 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.30.2