[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 1e8387c25a05bea529148b4be5c34166d364b161
Evergreen Git
git at git.evergreen-ils.org
Fri Apr 28 13:03:12 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_11 has been updated
via 1e8387c25a05bea529148b4be5c34166d364b161 (commit)
from 3437c991b154fd8053768d85fa47e475aa1a7012 (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 1e8387c25a05bea529148b4be5c34166d364b161
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