diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-02-02 20:40:19 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-02-02 20:40:19 +0100 |
commit | c9abf931cb34a26642049ad34593ad1a16ebfb6e (patch) | |
tree | b0e7004560f013815f459938bed4a8d7774d30d9 | |
parent | cf41e7d7444fb9d19a777a4720d9b00684e6fe7b (diff) | |
download | mediagoblin-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.html | 3 |
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 %} |