From cd0fe78e59402dfc08bdcdd7fdaf4e3d3b370bdc Mon Sep 17 00:00:00 2001 From: Lucas Gass 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 --- 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 %] +
  • Main contact method: [% patron.primary_contact_method | html %]
  • + [% END %] [% END %] [% IF ( patron.is_debarred ) %] -- 2.30.2