Bugzilla – Attachment 162122 Details for
Bug 36074
Make materials specified note easier to customize, part 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36074: Add classes to materials specfied message on check in and checkout when CircConfirmItemParts is on.
Bug-36074-Add-classes-to-materials-specfied-messag.patch (text/plain), 3.01 KB, created by
Brendan Lawlor
on 2024-02-13 17:27:35 UTC
(
hide
)
Description:
Bug 36074: Add classes to materials specfied message on check in and checkout when CircConfirmItemParts is on.
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-02-13 17:27:35 UTC
Size:
3.01 KB
patch
obsolete
>From 4dc3334bdce98c3733603c99e4e56be57ff8b703 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <blawlor@clamsnet.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 3 ++- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 ++- > 2 files changed, 4 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 979f916cd8..f7ef56af4a 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 %] > <li> >- Please confirm that the accompanying materials are present: [% ADDITIONAL_MATERIALS | html %] >+ <span class="mats_spec_label"> Please confirm that the accompanying materials are present: </span> >+ <span class="mats_spec_message">[% ADDITIONAL_MATERIALS | html %]</span> > </li> > [% 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 a177126da7..0f8206826e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -414,7 +414,8 @@ > <div class="modal-body"> > <ul> > <li> >- Please confirm that the accompanying materials are present: <strong>[% additional_materials | html %]</strong> >+ <span class="mats_spec_label">Please confirm that the accompanying materials are present: </span> >+ <span class="mats_spec_message">[% additional_materials | html %]</span> > </li> > </ul> > </div> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36074
:
162069
| 162122