aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2013-02-02 20:40:19 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2013-02-02 20:40:19 +0100
commitc9abf931cb34a26642049ad34593ad1a16ebfb6e (patch)
treeb0e7004560f013815f459938bed4a8d7774d30d9
parentcf41e7d7444fb9d19a777a4720d9b00684e6fe7b (diff)
downloadmediagoblin-c9abf931cb34a26642049ad34593ad1a16ebfb6e.tar.lz
mediagoblin-c9abf931cb34a26642049ad34593ad1a16ebfb6e.tar.xz
mediagoblin-c9abf931cb34a26642049ad34593ad1a16ebfb6e.zip
issue 615: config geolocation_map_visible gone.
The template in the geolocation plugin still used the old config option. Just remove that. To enable it, you enable the plugin. No need for extra config. Tested by manwesulimo2004 (via IRC).
-rw-r--r--mediagoblin/plugins/geolocation/templates/mediagoblin/plugins/geolocation/map.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/plugins/geolocation/templates/mediagoblin/plugins/geolocation/map.html b/mediagoblin/plugins/geolocation/templates/mediagoblin/plugins/geolocation/map.html
index b48678bb..70f837ff 100644
--- a/mediagoblin/plugins/geolocation/templates/mediagoblin/plugins/geolocation/map.html
+++ b/mediagoblin/plugins/geolocation/templates/mediagoblin/plugins/geolocation/map.html
@@ -17,8 +17,7 @@
#}
{% block geolocation_map %}
- {% if app_config['geolocation_map_visible']
- and media.media_data.gps_latitude is defined
+ {% if media.media_data.gps_latitude is defined
and media.media_data.gps_latitude
and media.media_data.gps_longitude is defined
and media.media_data.gps_longitude %}