aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-11-26 11:53:59 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-11-26 11:53:59 -0600
commit11e887f2743b9a362708635a502a8867d757e8c6 (patch)
treef4d615be860da73ed115da9c0c3c2848c15aed0e /mediagoblin/templates
parent9abd664bf2b1de34fc6de0f3b323727e47470e52 (diff)
parentee97ac6c2f8629aee958391f1f6337b1983529d0 (diff)
downloadmediagoblin-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.html15
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 &copy;<a
+ href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>
+ contributors
+ </li><li>Imaging &copy;<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 -%}