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

Evergreen Git git at git.evergreen-ils.org
Tue Feb 14 14:36:20 EST 2017


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  ff69ce5a7aef968cac94619db1b389b3745e67ba (commit)
      from  69fedd11d0bc250eb321bb60854e40505aa8473f (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 ff69ce5a7aef968cac94619db1b389b3745e67ba
Author: Bill Erickson <berickxx at gmail.com>
Date:   Fri Feb 3 11:03:22 2017 -0500

    LP#1659588 Patron summary displays alert message
    
    Display the contents of the patron alert message in the web staff patron
    summary side-bar.  Alert displays below blocking penalties, above the
    name, etc. with the same style as a blocking penalty.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2
index c67e1de..690a2f6 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2
@@ -13,8 +13,16 @@
         {{penalty.set_date() | date:'shortDate'}}
       </div>
     </div>
+    <div class="row patron-summary-divider">
+      <div
+        class="col-md-9 patron-summary-alert"
+        title="[% l('Patron Alert Message') %]"
+        ng-if="patron().alert_message()">
+        {{patron().alert_message()}}
+      </div>
+    </div>
     <div class="row" 
-      ng-class="{'patron-summary-divider' : alert_penalties().length}">
+      ng-class="{'patron-summary-divider' : alert_penalties().length || patron().alert_message()}">
       <div class="col-md-5">[% l('Profile') %]</div>
       <div class="col-md-7">{{patron().profile().name()}}</div>
     </div>

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

Summary of changes:
 .../src/templates/staff/circ/patron/t_summary.tt2  |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list