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

Evergreen Git git at git.evergreen-ils.org
Fri Apr 28 13:01:29 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, master has been updated
       via  e314109e3b865eb0c3f344fb218e212bf13186c1 (commit)
      from  b0ad408924fdc616be8c871d87bf9b7d3d96983b (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 e314109e3b865eb0c3f344fb218e212bf13186c1
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