Bugzilla – Attachment 149202 Details for
Bug 33398
Show primary_contact_method when holds are triggered
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33398: Add primary_contact_method to display when triggering a waiting hold
Bug-33398-Add-primarycontactmethod-to-display-when.patch (text/plain), 2.29 KB, created by
ByWater Sandboxes
on 2023-04-05 12:54:16 UTC
(
hide
)
Description:
Bug 33398: Add primary_contact_method to display when triggering a waiting hold
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-04-05 12:54:16 UTC
Size:
2.29 KB
patch
obsolete
>From cd0fe78e59402dfc08bdcdd7fdaf4e3d3b370bdc Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 4 Apr 2023 15:43:41 +0000 >Subject: [PATCH] Bug 33398: Add primary_contact_method to display when > triggering a waiting hold > >To test: >1. Apply patch, yarn build >2. Trigger a waiting hold for a patron that has a value for primary_contact_method >3. Notice the modal now includes a line indicating the primary_contact_method. >4. Trigger a hold for a patron without a primary_contact_method. Nothing should display. > >Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 ++- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 +++ > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 9b1534fdbd..c1b9d0aa93 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -483,7 +483,8 @@ form { > } > } > >- .notification_method { >+ .notification_method, >+ #main_contact_method { > background-color: #FFE; > border: 1px solid #CCC; > border-radius: 5px; >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 7596356df6..9771496c72 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -819,6 +819,9 @@ > > [% UNLESS ( transfertodo) %] > [% INCLUDE display_bormessagepref %] >+ [% IF patron.primary_contact_method %] >+ <li id="main_contact_method">Main contact method: <span>[% patron.primary_contact_method | html %]</span></li> >+ [% END %] > [% END %] > > [% IF ( patron.is_debarred ) %] >-- >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 33398
:
149136
|
149202
|
150399