[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 64351bb6eb772f693e2eda62417965f9275921a9

Evergreen Git git at git.evergreen-ils.org
Thu Nov 3 10:58:29 EDT 2016


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_10 has been updated
       via  64351bb6eb772f693e2eda62417965f9275921a9 (commit)
      from  eccfd7b69c93ce06aee5ad6d075fcf8cce73767d (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 64351bb6eb772f693e2eda62417965f9275921a9
Author: Christine Morgan <cmorgan at noblenet.org>
Date:   Thu Sep 29 16:50:24 2016 -0400

    lp1629075: Hide Permalink in Staff Client
    
    This will hide the permalink in the staff client catalog.
    
    Signed-off-by: Christine Morgan <cmorgan at noblenet.org>
    Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2
index 76f45ff..0f09daa 100644
--- a/Open-ILS/src/templates/opac/parts/record/summary.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2
@@ -77,12 +77,14 @@
             [%- IF ctx.refworks.enabled == 'true' %]
                 [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
             [%- END %]
-            <div class="rdetail_aux_utils share_record">
-                <a href="[% mkurl('', {locg =>CGI.param('locg'), copy_depth =>CGI.param('copy_depth')}, 1) %]" class="no-dec">
-                     <img src="[% ctx.media_prefix %]/images/link.png" alt="[% l('Permalink') %]" />
-                     [% l('Permalink') %]
-                </a>
-            </div>
+			[% IF !ctx.is_staff %]
+				<div class="rdetail_aux_utils share_record">
+					<a href="[% mkurl('', {locg =>CGI.param('locg'), copy_depth =>CGI.param('copy_depth')}, 1) %]" class="no-dec">
+						 <img src="[% ctx.media_prefix %]/images/link.png" alt="[% l('Permalink') %]" />
+						 [% l('Permalink') %]
+					</a>
+				</div>
+			[% END %]
             [%- IF ctx.is_staff %]
             <div class="rdetail_aux_utils clear_addedcontent_cache">
                 <a href="[% ctx.media_prefix %]/opac/extras/ac/clearcache/all/r/[% ctx.bre_id | uri %]" class="no-dec" target="_blank">

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

Summary of changes:
 .../src/templates/opac/parts/record/summary.tt2    |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list