[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 828385ec0e0816a5f2558a5b9563790aff68fd7b

Evergreen Git git at git.evergreen-ils.org
Fri Apr 28 13:02:34 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  828385ec0e0816a5f2558a5b9563790aff68fd7b (commit)
      from  055ec5b8cfda05b19e7a23982007498d6a048e8d (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 828385ec0e0816a5f2558a5b9563790aff68fd7b
Author: Linda Jansova <skolkova at chello.cz>
Date:   Tue Nov 29 08:49:52 2016 -0500

    LP#1628655: Do not show Patron Reviews if Chilifresh is not in use
    
    The Patron reviews header used for Chilifresh content displays in the catalog
    even for Evergreen sites that do not use Chilifresh. This patch hides it if
    a site is not using Chilifresh.
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/awards.tt2 b/Open-ILS/src/templates/opac/parts/record/awards.tt2
index d4460e8..5ab75bb 100644
--- a/Open-ILS/src/templates/opac/parts/record/awards.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/awards.tt2
@@ -2,11 +2,13 @@
     <div style="margin-bottom:20px;"></div>
 
     <!-- Chilifresh patron reviews -->
+    [% IF ENV.OILS_CHILIFRESH_URL %] 
     <strong>[% l('Patron Reviews:') %]</strong>
     <div style="margin-bottom:20px;">
         <span class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </span>
         <div id="chili_review_[% attrs.isbn_clean | html %]" style="display: none;" align="center" width="100%"></div>
     </div>
+    [% END %]
 
     <!-- Novelist suggestions-->
     [% IF ENV.OILS_NOVELIST_URL %] 

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

Summary of changes:
 .../src/templates/opac/parts/record/awards.tt2     |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list