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> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
3248afdc12
commit
bb30626c49
2 changed files with 5 additions and 1 deletions
|
@ -483,7 +483,8 @@ form {
|
|||
}
|
||||
}
|
||||
|
||||
.notification_method {
|
||||
.notification_method,
|
||||
#main_contact_method {
|
||||
background-color: #FFE;
|
||||
border: 1px solid #CCC;
|
||||
border-radius: 5px;
|
||||
|
|
|
@ -815,6 +815,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 ) %]
|
||||
|
|
Loading…
Reference in a new issue