[open-ils-commits] [GIT] Evergreen ILS branch master updated. 510284df87477ca886c2835719b250928e16641f

Evergreen Git git at git.evergreen-ils.org
Thu May 24 15:07:11 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  510284df87477ca886c2835719b250928e16641f (commit)
      from  fc25b345602b337b585c1dc64e26714b03b28de8 (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 510284df87477ca886c2835719b250928e16641f
Author: Garry Collum <gcollum at gmail.com>
Date:   Wed May 23 19:47:56 2018 -0400

    LP#1745240: Hold Alias Missing from Hold Shelf Slip
    
    A patron's hold alias can be printed in the hold shelf slip using the variable patron.alias.  This patch just adds 'patron.alias' to the list of available options displayed at the top of the template. Also adds a colon before the patron's name fields for consistency.
    
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: John Amundson <jamundson at cwmars.org>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2
index ea9503d..c85ce9d 100644
--- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2
+++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2
@@ -5,6 +5,7 @@ Template for printing hold request slips. Fields include:
 * hold.behind_desk
 * copy.barcode
 * title
+* patron.alias
 * patron.family_name
 * patron.first_given_name
 * patron.second_given_name
@@ -37,7 +38,7 @@ Template for printing hold request slips. Fields include:
   <br/>
   <br/>
 
-  <div>[% l('Hold for patron [_1], [_2] [_3]',
+  <div>[% l('Hold for patron: [_1], [_2] [_3]',
     '{{patron.family_name}}',
     '{{patron.first_given_name}}',
     '{{patron.second_given_name}}') %]</div>

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

Summary of changes:
 .../share/print_templates/t_hold_shelf_slip.tt2    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list