From: Thomas Berezansky Date: Mon, 9 Dec 2013 16:15:29 +0000 (-0500) Subject: Always show Email Address label to staff X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=68dff1e3717770061f11f9333a44e2ef6942ded3;p=evergreen%2Fpines.git Always show Email Address label to staff When placing holds staff commonly change out patrons, and pointing staff towards the "My Account" area makes no sense to begin with. Signed-off-by: Thomas Berezansky 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 cb6abfffd5..f12cd56b13 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -83,7 +83,7 @@ [% IF !ctx.user.email %]disabled="true"[% ELSIF ctx.default_email_notify %]checked="checked"[% END %]/>
- [% IF !ctx.user.email; l('No configured Email address. See "My Account" for setting your Email address.'); + [% 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 allow_phone_notifications == 'true' %]