Bugzilla – Attachment 158472 Details for
Bug 35253
Make materials specified note easier to customize
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35253: Add classes to materials specfied message on check in and checkout
Bug-35253-Add-classes-to-materials-specfied-messag.patch (text/plain), 2.82 KB, created by
Katrin Fischer
on 2023-11-05 13:16:50 UTC
(
hide
)
Description:
Bug 35253: Add classes to materials specfied message on check in and checkout
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-11-05 13:16:50 UTC
Size:
2.82 KB
patch
obsolete
>From d664dd5ca79b4cabb6b221b95a3aca969087e79e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <david@davidnind.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 %] >- <div id="materials" class="dialog message">Note about the accompanying materials: [% ADDITIONAL_MATERIALS | html %] >+ <div id="materials" class="dialog message"> >+ <span class="mats_spec_label">Note about the accompanying materials: </span> >+ <span class="mats_spec_message">[% ADDITIONAL_MATERIALS | html %]</span> > </div> > [% 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 %] > <div id="materials" class="dialog message"> >- Note about the accompanying materials: [% additional_materials | html %] >+ <span class="mats_spec_label">Note about the accompanying materials: </span> >+ <span class="mats_spec_message">[% additional_materials | html %]</span> > </div> > [% END %] > >-- >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 35253
:
158360
|
158398
| 158472