From: Dan Scott Date: Tue, 9 Dec 2014 19:10:12 +0000 (-0500) Subject: Static Google Maps in library page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5cb06d54114eb2656deeafd1e728a755aa5c9f5c;p=working%2FEvergreen.git Static Google Maps in library page Just a proof of concept, not meant to be merged. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates/opac/parts/library/core_info.tt2 b/Open-ILS/src/templates/opac/parts/library/core_info.tt2 index 1398f7035f..45a24c77e6 100644 --- a/Open-ILS/src/templates/opac/parts/library/core_info.tt2 +++ b/Open-ILS/src/templates/opac/parts/library/core_info.tt2 @@ -42,6 +42,7 @@ [% ctx.mailing_address.post_code | html %]
+ [%- INCLUDE "opac/parts/library/maps.tt2"; %] [%- END; %] [%- IF ctx.library.parent_ou; %] diff --git a/Open-ILS/src/templates/opac/parts/library/maps.tt2 b/Open-ILS/src/templates/opac/parts/library/maps.tt2 new file mode 100644 index 0000000000..4729b44e20 --- /dev/null +++ b/Open-ILS/src/templates/opac/parts/library/maps.tt2 @@ -0,0 +1,25 @@ +[%# Just a static map for now as a proof of concept; + # the LatLng could be replaced by a (cached) server side lookup, + # a client side GeoCoder request (https://developers.google.com/maps/documentation/javascript/reference#Geocoder), + # or by yet another OUS (but really, who's going to enter that?!) +-%] +
+ + +