From 5e223e2d08b52d3564ca4cab21250de0d1bf8715 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Mon, 25 Feb 2013 11:39:00 -0500 Subject: [PATCH] Tweak Google Book Preview Display This commit makes three changes to the Google Book preview link: 1) Move the button to the same spot on the page as the viewer. This clarifies the relationship between the button and the viewer, and makes it far less likely that the viewer will load off the screen. 2) Make the button a toggle for turning the viewer on and off. 3) In conjunction with (2), add some additional text to the button link to follow the toggling action. Signed-off-by: Dan Wells --- .../src/templates/opac/parts/ac_google_books.tt2 | 28 ++++++++++++++++++---- .../tpac_google_books_preview.txt | 6 ++--- 2 files changed, 27 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..e8119bf2f6 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 @@