Tweak Google Book Preview Display, Take 2 user/dbwells/tweak_google_books_take_two
authorDan Wells <dbw2@calvin.edu>
Wed, 27 Feb 2013 14:34:58 +0000 (09:34 -0500)
committerDan Wells <dbw2@calvin.edu>
Wed, 27 Feb 2013 14:34:58 +0000 (09:34 -0500)
commit74a6b1797e454eb89a8bbf989837f4cca56b4eec
treebaf03bc34a222fa9a0aabb0a3a17aa4e08e2cecc
parent160e3c142479f39c8383f4bf606eb32ad6dbd3f3
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>
Open-ILS/src/templates/opac/parts/ac_google_books.tt2
Open-ILS/src/templates/opac/parts/record/extras.tt2