diff --git a/ckanext/spatial/templates/spatial/snippets/map_attribution.html b/ckanext/spatial/templates/spatial/snippets/map_attribution.html index 2e14fc0..2287ea2 100644 --- a/ckanext/spatial/templates/spatial/snippets/map_attribution.html +++ b/ckanext/spatial/templates/spatial/snippets/map_attribution.html @@ -1,10 +1,11 @@ -
Map data © OpenStreetMap contributors
-{% if map_config.type == 'mapbox' %} -
Tiles by MapBox
-{% elif map_config.type == 'custom' %} +{% if map_config.type == 'custom' %}
{{ map_config.attribution|safe }}
{% else %} -
Tiles by MapQuest
+
Map data © OpenStreetMap contributors
+ {% if map_config.type == 'mapbox' %} +
Tiles by MapBox
+ {% else %} +
Tiles by MapQuest
+ {% endif %} {% endif %}