From 6f8ef2b0c0788f71e821f2c56fc87c5a7173e081 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 --- 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 5a93081672..d6ebd2a0cf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -250,7 +250,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 489400e3c7..474a3e6473 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 %] @@ -418,7 +418,8 @@ -- 2.39.5