lp1422555: Link permalink icon on record summary
authorDan Scott <dscott@laurentian.ca>
Thu, 19 Feb 2015 18:58:21 +0000 (13:58 -0500)
committerBen Shum <bshum@biblio.org>
Thu, 19 Feb 2015 21:23:20 +0000 (16:23 -0500)
Make the permalink icon a link, in addition to the text for
"Permalink" itself, to be more consistent with the other
action icons.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2

index 5407062..daf4488 100644 (file)
                 [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
             [%- END %]
             <div class="rdetail_aux_utils share_record">
-              <img src="[% ctx.media_prefix %]/images/link.png" alt="[% l('Permalink') %]" />
-             <a href="[% mkurl('', {locg =>CGI.param('locg'), copy_depth =>CGI.param('copy_depth')}, 1) %]" class="no-dec">[% l('Permalink') %]</a>
+                <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>
         </div>
     </div>