LP#1685840: Dojoless Google Books Preview: remove TT2 dependency
authorDan Scott <dscott@laurentian.ca>
Mon, 24 Apr 2017 15:53:24 +0000 (11:53 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 4 May 2017 14:31:27 +0000 (10:31 -0400)
commite16178021742b7aa83b83152c874c62f769b006c
treeed0c662ad021c77afa43f79823dea87ced045045
parentb6e3ad033f98bf75a0d03021907103ed313ab475
LP#1685840: Dojoless Google Books Preview: remove TT2 dependency

Rather than process the template with TT2 to specify the language in
which the Google Books Preview should be displayed, use the @lang
attribute on the <html> element--and fall back to 'en' if for some
reason that attribute has been removed from the template.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/ac_google_books.tt2