TPAC: Move "Export to RefWorks" into utility area
authorDan Scott <dscott@laurentian.ca>
Wed, 15 Aug 2012 11:18:53 +0000 (07:18 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 22 Aug 2012 17:54:18 +0000 (13:54 -0400)
When the RefWorks functionality was being added to TPAC, the design and
layout were very much in flux. Now that the layout has been established
with utilities like "Place Hold" on the right hand side, move the
"Export to RefWorks" button into the same location.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Art Rhyno <art632000@yahoo.ca>

Open-ILS/src/templates/opac/parts/record/refworks.tt2
Open-ILS/src/templates/opac/parts/record/summary.tt2

index ed02a74..2628063 100644 (file)
@@ -1,4 +1,4 @@
-[%
+[%-
     # Default to the root of the org unit tree in the absence of a specific library
     loc = ctx.search_ou;
 
@@ -15,6 +15,6 @@
         '/opac/extras/supercat/marctxt/record/' _ 
         ctx.bre_id;
 %]
-<div class="rdetail_refworks">
-    <a href="[% rw_uri %]">[% l('Export to RefWorks') %]</a>
+<div class="rdetail_aux_utils rdetail_refworks">
+    <a href="[% rw_uri %]"><img src="/images/starz.png" alt="" />[% l('Export to RefWorks') %]</a>
 </div>
index 990201d..868a7dd 100644 (file)
@@ -5,10 +5,6 @@
 <!-- ****************** rdetail_summary.xml ***************************** -->
 <abbr class="unapi-id" title='tag:[% ctx.hostname %],[% date.format(date.now, '%Y') %]:biblio-record_entry/[% ctx.bre_id %]'></abbr>
 
-[%- IF ctx.refworks.enabled == 'true' %]
-    [% INCLUDE 'opac/parts/record/refworks.tt2' %]
-[%- END %]
-
 <hr />
 
 [%-# This holds the record summary information %]
@@ -55,6 +51,9 @@
             <a href="[% mkurl(ctx.opac_root _ '/record/print/' _ ctx.bre_id) %]" class="no-dec">[% l('Print') %]</a> /
             <a href="[% mkurl(ctx.opac_root _ '/record/email/' _ ctx.bre_id) %]" class="no-dec">[% l('Email') %]</a>
         </div>
+        [%- IF ctx.refworks.enabled == 'true' %]
+            [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
+        [%- END %]
     </div>
     <div id='rdetail_title_div'>
         [%- IF attrs.format_icon %]