From: Josh Stompro Date: Fri, 11 Oct 2019 16:11:41 +0000 (-0500) Subject: LP1748227 - Add link to place hold form to set or change email address X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fstompro%2Flp1748227_hold_simple_change_email;p=working%2FEvergreen.git 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 --- 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' %]