From 909b706e653c581ddd22092a38e4f5f974e8140f Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 15 Aug 2012 07:18:53 -0400 Subject: [PATCH] TPAC: Move "Export to RefWorks" into utility area 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 Signed-off-by: Art Rhyno --- Open-ILS/src/templates/opac/parts/record/refworks.tt2 | 6 +++--- Open-ILS/src/templates/opac/parts/record/summary.tt2 | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/refworks.tt2 b/Open-ILS/src/templates/opac/parts/record/refworks.tt2 index ed02a74e2c..2628063d9c 100644 --- a/Open-ILS/src/templates/opac/parts/record/refworks.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/refworks.tt2 @@ -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; %] -
- [% l('Export to RefWorks') %] + diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index 990201d143..868a7dda5c 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -5,10 +5,6 @@ -[%- IF ctx.refworks.enabled == 'true' %] - [% INCLUDE 'opac/parts/record/refworks.tt2' %] -[%- END %] -
[%-# This holds the record summary information %] @@ -55,6 +51,9 @@ [% l('Print') %] / [% l('Email') %]
+ [%- IF ctx.refworks.enabled == 'true' %] + [%- INCLUDE 'opac/parts/record/refworks.tt2' %] + [%- END %]
[%- IF attrs.format_icon %] -- 2.11.0