From: Steven Callender Date: Thu, 12 Sep 2013 17:30:16 +0000 (-0400) Subject: Added in warning message when placing hold with no email address. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6707d536768f6cb72da4d974d6f742abf0a4681d;p=evergreen%2Fmasslnc.git Added in warning message when placing hold with no email address. Previously when an account didn't have an email address associated with it when placing a hold, the input box would be greyed out and the display would show the Email Address text with no address to go with it. This change will instead show text warning the user that they have no email address configured and they need to go to My Account in order to add one to their account. Signed-off-by: Steven Callender Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index 9b410fba2b..cb6abfffd5 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -83,7 +83,8 @@ [% IF !ctx.user.email %]disabled="true"[% ELSIF ctx.default_email_notify %]checked="checked"[% END %]/>
- [% l('Email Address:') %] [% ctx.user.email %] + [% IF !ctx.user.email; l('No configured Email address. See "My Account" for setting your Email address.'); + ELSE; l('Email Address:') %] [% ctx.user.email %][% END %]
[%- IF allow_phone_notifications == 'true' %]