From 3653b08747d87809be382431717b1bf870ceb369 Mon Sep 17 00:00:00 2001 From: Josh Stompro Date: Fri, 11 Oct 2019 11:11:41 -0500 Subject: [PATCH] LP1748227 - Add link to place hold form to set or change email address This streamlines the action of setting or changing a users email address during placing a hold. Signed-off-by: Josh Stompro --- Open-ILS/src/templates/opac/parts/place_hold.tt2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index 95ff9e2b29..3fd6ad056a 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -237,8 +237,13 @@ function maybeToggleNumCopies(obj) { [% IF !ctx.user.email %]disabled="true"[% ELSIF ctx.default_email_notify %]checked="checked"[% END %]/>
- [% IF !ctx.user.email and !ctx.is_staff; l('No configured Email address. See "My Account" for setting your Email address.'); - ELSE; l('Email Address:') %] [% ctx.user.email %][% END %] + [% IF !ctx.user.email and !ctx.is_staff; l('No configured email address. '); %] + [% l("Set email address?") %] + [% ELSE; l('Email Address:') %] [% ctx.user.email %] + [% l("Change?") %] + [% END %]
[%- IF allow_phone_notifications == 'true' %]