]> git.evergreen-ils.org Git - Evergreen.git/commit
Tweak Google Book Preview Display, Take 2
authorDan Wells <dbw2@calvin.edu>
Wed, 27 Feb 2013 14:34:58 +0000 (09:34 -0500)
committerBen Shum <bshum@biblio.org>
Mon, 11 Mar 2013 21:55:18 +0000 (17:55 -0400)
commit8d86d3fe1d71797d671a13a9b10a6141936ed94e
treee8ddb3be8bfebf14996deaa56b3607aaca0d8920
parent5f166ed1fcbad1f3600965b4172047470aec391d
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 <dbw2@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/ac_google_books.tt2
Open-ILS/src/templates/opac/parts/record/extras.tt2