From 1efd5c6a1fb79ae8c678a1278545569460560661 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 12 Feb 2024 22:03:38 +0000 Subject: [PATCH] Bug 36074: Add classes to materials specfied message on check in and checkout when CircConfirmItemParts is on. To test: 1. APPLY PATCH 2. Set CircConfirmItemParts to 'Require'. 3. Add a materials specified message to an item. ( 952$3 ) 4. Add the following CSS to your IntranetUserCSS: .mats_spec_label { color: white; background: purple; } .mats_spec_message { color: white; background: green; } 5. Checkout that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. 6. Check in that item. Notice the message should be green and the label (Note about the accompanying materials:) should be purple. Signed-off-by: Brendan Lawlor Signed-off-by: Katrin Fischer (cherry picked from commit 6f8ef2b0c0788f71e821f2c56fc87c5a7173e081) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 5 +++-- 2 files changed, 5 insertions(+), 3 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 92cbac67eb..d42490dd2f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -247,7 +247,8 @@ [% IF ADDITIONAL_MATERIALS %]
  • - Please confirm that the accompanying materials are present: [% ADDITIONAL_MATERIALS | html %] + Please confirm that the accompanying materials are present: + [% 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 c954ff7e19..357eebb3ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -158,7 +158,7 @@ [% IF additional_materials && !needs_confirm && !multiple_confirmed %]
    - Note about the accompanying materials: + Note about the accompanying materials: [% additional_materials | html %]
    [% END %] @@ -414,7 +414,8 @@ -- 2.39.5