lp1629075: Hide Permalink in Staff Client user/cmorgan/lp1629075_hide_permalink_client
authorChristine Morgan <cmorgan@noblenet.org>
Thu, 29 Sep 2016 20:50:24 +0000 (16:50 -0400)
committerChristine Morgan <cmorgan@noblenet.org>
Thu, 29 Sep 2016 20:50:24 +0000 (16:50 -0400)
This will hide the permalink in the staff client catalog.

Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2

index fdee08c..5b002b4 100644 (file)
                                        [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
                                [%- END %]
 
-
+                       [% 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">