[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 18728fe5185bf2dfb374ecdf35693ea6ee02467e

Evergreen Git git at git.evergreen-ils.org
Mon Jul 17 10:47:03 EDT 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, rel_2_12 has been updated
       via  18728fe5185bf2dfb374ecdf35693ea6ee02467e (commit)
      from  3f4f8632a19a8af949b752e97abccc22a6052880 (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 18728fe5185bf2dfb374ecdf35693ea6ee02467e
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Fri Jul 14 15:01:09 2017 -0400

    LP1704463: Item Status Fields Correction
    
    The Loan Duration and Fine Level fields were
    being incorrectly pulled from unrelated fields
    on the most recent circ rather than the item.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
index 345eb23..7619efe 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
@@ -59,7 +59,11 @@
     </div>
 
     <div class="flex-cell">[% l('Loan Duration') %]</div>
-    <div class="flex-cell well">{{circ.duration()}}</div>
+    <div class="flex-cell well">
+      <div ng-if="copy.loan_duration() == 1">[% l('Short') %]</div>
+      <div ng-if="copy.loan_duration() == 2">[% l('Normal') %]</div>
+      <div ng-if="copy.loan_duration() == 3">[% l('Long') %]</div>
+    </div>
 
     <div class="flex-cell">[% l('Renewal Type') %]</div>
     <div class="flex-cell well">
@@ -76,7 +80,11 @@
     <div class="flex-cell">[% l('Date Created') %]</div>
     <div class="flex-cell well">{{copy.create_date() | date:'short'}}</div>
     <div class="flex-cell">[% l('Fine Level') %]</div>
-    <div class="flex-cell well">{{circ.duration_rule().name()}}</div>
+    <div class="flex-cell well">
+      <div ng-if="copy.fine_level() == 1">[% l('Low') %]</div>
+      <div ng-if="copy.fine_level() == 2">[% l('Normal') %]</div>
+      <div ng-if="copy.fine_level() == 3">[% l('High') %]</div>
+    </div>
 
     <div class="flex-cell">[% l('Total Circs') %]</div>
     <div class="flex-cell well">{{total_circs}}</div>

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

Summary of changes:
 .../templates/staff/cat/item/t_summary_pane.tt2    |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list