Merge branch 'fix-map-attribution' of https://github.com/eawag-rdm/ckanext-spatial into eawag-rdm-fix-map-attribution
This commit is contained in:
commit
6cb922fdd3
|
@ -1,10 +1,11 @@
|
||||||
<div>Map data © <a
|
{% if map_config.type == 'custom' %}
|
||||||
href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors</div>
|
|
||||||
{% if map_config.type == 'mapbox' %}
|
|
||||||
<div>Tiles by <a href="http://www.mapbox.com/about/maps/">MapBox</a></div>
|
|
||||||
{% elif map_config.type == 'custom' %}
|
|
||||||
<div>{{ map_config.attribution|safe }}</div>
|
<div>{{ map_config.attribution|safe }}</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div>Tiles by <a href="http://www.mapquest.com">MapQuest</a></div>
|
<div>Map data © <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors</div>
|
||||||
|
{% if map_config.type == 'mapbox' %}
|
||||||
|
<div>Tiles by <a href="http://www.mapbox.com/about/maps/">MapBox</a></div>
|
||||||
|
{% else %}
|
||||||
|
<div>Tiles by <a href="http://www.mapquest.com">MapQuest</a></div>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue