From 8d86d3fe1d71797d671a13a9b10a6141936ed94e Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Wed, 27 Feb 2013 09:34:58 -0500 Subject: [PATCH] Tweak Google Book Preview Display, Take 2 After some additional feedback, this commit makes three changes to the Google Book preview link: 1) As a solution offered by Dan Scott, rather than move the button, we simply scroll to the preview when the button is clicked. This effectively makes it impossible to miss. (In the current code it sometimes loads off the screen.) 2) Make the viewer display in the same style as other added content. 3) Allow the added content header to function as an additional toggle to turn the viewer on and off. Signed-off-by: Dan Wells Signed-off-by: Ben Shum --- .../src/templates/opac/parts/ac_google_books.tt2 | 40 +++++++++++++++++++--- .../src/templates/opac/parts/record/extras.tt2 | 23 +++++++++++-- 2 files changed, 56 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/ac_google_books.tt2 b/Open-ILS/src/templates/opac/parts/ac_google_books.tt2 index 8243fe0738..3dbb5f988e 100644 --- a/Open-ILS/src/templates/opac/parts/ac_google_books.tt2 +++ b/Open-ILS/src/templates/opac/parts/ac_google_books.tt2 @@ -1,5 +1,6 @@