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).
This commit is contained in:
Elrond 2013-02-02 20:40:19 +01:00
parent cf41e7d744
commit c9abf931cb

View File

@ -17,8 +17,7 @@
#} #}
{% block geolocation_map %} {% block geolocation_map %}
{% if app_config['geolocation_map_visible'] {% if media.media_data.gps_latitude is defined
and media.media_data.gps_latitude is defined
and media.media_data.gps_latitude and media.media_data.gps_latitude
and media.media_data.gps_longitude is defined and media.media_data.gps_longitude is defined
and media.media_data.gps_longitude %} and media.media_data.gps_longitude %}