[open-ils-commits] [GIT] Evergreen ILS branch rel_2_5 updated. e55e01049cf27cf422ec4937b3b5dfb8a38983cc

Evergreen Git git at git.evergreen-ils.org
Mon Dec 9 11:41:27 EST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_5 has been updated
       via  e55e01049cf27cf422ec4937b3b5dfb8a38983cc (commit)
      from  8c5d7e5c1d2cd7504562a128dc187a4d932ab3db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e55e01049cf27cf422ec4937b3b5dfb8a38983cc
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Mon Dec 9 11:15:29 2013 -0500

    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 <tsbere at mvlc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2
index cb6abff..f12cd56 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 %]/>
                     <label for="email_notify">[% l('Yes, by Email') %]</label><br/>
                 <blockquote>
-                    [% 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:') %] <span name="email_address">[% ctx.user.email %]</span>[% END %]
                 </blockquote>
                 [%- IF allow_phone_notifications == 'true' %]

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/place_hold.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list