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

Evergreen Git git at git.evergreen-ils.org
Thu Nov 3 10:56:33 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, master has been updated
       via  beebab309629a319de590469d3d5a2b2743b6dee (commit)
      from  59503ede86bb06c97319f12e96bc30604264307d (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 beebab309629a319de590469d3d5a2b2743b6dee
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 b2bd5e5..4fa0ba8 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