From da90a9d224aa3cc5f6db79d46bab206b3d348257 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 --- .../src/templates/opac/parts/record/refworks.tt2 | 6 +++--- .../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 ed02a74..2628063 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 990201d..868a7dd 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 %] -- 1.7.2.5