[open-ils-commits] [GIT] Evergreen ILS branch master updated. 5668f8db0cc471d37bcd59bdd002e0d719d7ce4b

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, master has been updated
       via  5668f8db0cc471d37bcd59bdd002e0d719d7ce4b (commit)
      from  b6833dee84355730a3f490dda6237a584da19586 (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 5668f8db0cc471d37bcd59bdd002e0d719d7ce4b
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