diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-11-26 11:53:59 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-11-26 11:53:59 -0600 |
commit | 11e887f2743b9a362708635a502a8867d757e8c6 (patch) | |
tree | f4d615be860da73ed115da9c0c3c2848c15aed0e /mediagoblin/templates | |
parent | 9abd664bf2b1de34fc6de0f3b323727e47470e52 (diff) | |
parent | ee97ac6c2f8629aee958391f1f6337b1983529d0 (diff) | |
download | mediagoblin-11e887f2743b9a362708635a502a8867d757e8c6.tar.lz mediagoblin-11e887f2743b9a362708635a502a8867d757e8c6.tar.xz mediagoblin-11e887f2743b9a362708635a502a8867d757e8c6.zip |
Merge remote-tracking branch 'remotes/spaetz/410_OSM_attrib_v2'
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r-- | mediagoblin/templates/mediagoblin/utils/geolocation_map.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/geolocation_map.html b/mediagoblin/templates/mediagoblin/utils/geolocation_map.html index cd57d1f8..b48678bb 100644 --- a/mediagoblin/templates/mediagoblin/utils/geolocation_map.html +++ b/mediagoblin/templates/mediagoblin/utils/geolocation_map.html @@ -33,6 +33,21 @@ <input type="hidden" id="gps-latitude" value="{{ lat }}" /> </div> + <script> <!-- pop up full OSM license when clicked --> + $(document).ready(function(){ + $("#osm_license_link").click(function () { + $("#osm_attrib").slideToggle("slow"); + }); + }); + </script> + <div id="osm_attrib" class="hidden"><ul><li> + Data ©<a + href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> + contributors + </li><li>Imaging ©<a + href="http://mapquest.com">MapQuest</a></li><li>Maps powered by + <a href="http://leafletjs.com/"> Leaflet</a></li></ul> + </div> <p> <small> {% trans -%} |