From 01f1ea70d07de59e3c85af44b7c1a2f98cde0323 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 062bf2f1dd..3b348d6c9d 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 %] @@ -44,6 +40,9 @@ [% l('Print') %] / [% l('Email') %]
+ [%- IF ctx.refworks.enabled == 'true' %] + [%- INCLUDE 'opac/parts/record/refworks.tt2' %] + [%- END %]
[%- IF attrs.format_icon %] -- 2.11.0