[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1c1bc36222e90f34a94e6ba38c8daf7f90775283

Evergreen Git git at git.evergreen-ils.org
Tue Sep 18 16:38:31 EDT 2018


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  1c1bc36222e90f34a94e6ba38c8daf7f90775283 (commit)
      from  870cecad0ac527b5ceaf4d5b893f6612fce2867c (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 1c1bc36222e90f34a94e6ba38c8daf7f90775283
Author: Bill Erickson <berickxx at gmail.com>
Date:   Sun Sep 16 18:48:59 2018 -0400

    LP#1792484 Patron preferred name in hold shelf dialog
    
    Display the patron preferred name in addition to the primary name in the
    route-to-holds-shelf dialog.  As with primary name, preferred name is
    hidden when an alias is applied.
    
    To test
    [1] Add a primary first, middle, and/or last name value to a patron.
    [2] Place a hold for the patron with the pickup library matching the
        login library.
    [2] Capgture the hold via the Checkin interface (instead of the hold
        capture interface) and note the preferred name display.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2 b/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2
index 9611f99..bb26ff4 100644
--- a/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2
+++ b/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2
@@ -45,6 +45,15 @@
       {{patron.first_given_name}} {{patron.second_given_name}}
       [% END %]
     </div>
+    <div ng-hide="patron.alias">
+      <div ng-if="patron.pref_family_name || patron.pref_first_given_name || patron.pref_second_given_name">
+        [% l('Preferred name: [_1], [_2] [_3]', 
+          '{{patron.pref_family_name || patron.family_name}}',
+          '{{patron.pref_first_given_name || patron.first_given_name}}',
+          '{{patron.pref_second_given_name}}') 
+        %]
+      </div>
+    </div>
     <div>
       <span>[% l('Patron Barcode:') %]</span>
       <span>{{patron.card.barcode}}</span>

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

Summary of changes:
 .../staff/circ/share/t_hold_shelf_dialog.tt2       |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list