Remove attribution as this is handled in the map itself

This commit is contained in:
amercader 2023-10-31 12:24:03 +01:00
parent c69235f34b
commit c9ca902871
3 changed files with 0 additions and 10 deletions

View File

@ -5,10 +5,6 @@
.module-content #dataset-map-container {
height: 250px;
}
#dataset-map-attribution {
font-size: 11px;
line-height: 1.5;
}
.module-heading .action {
float: right;
color: #888888;

View File

@ -13,9 +13,6 @@ extent
{% set map_config = h.get_common_map_config() %}
<div class="dataset-map" data-module="dataset-map" data-extent="{{ extent }}" data-module-site_url="{{ h.dump_json(h.url_for('/', locale='default', qualified=true)) }}" data-module-map_config="{{ h.dump_json(map_config) }}">
<div id="dataset-map-container"></div>
<div id="dataset-map-attribution">
{% snippet "spatial/snippets/map_attribution.html", map_config=map_config %}
</div>
</div>
{% set type = 'asset' if h.ckan_version().split('.')[1] | int >= 9 else 'resource' %}

View File

@ -22,9 +22,6 @@ e.g.
<div class="dataset-map" data-module="spatial-query" data-default_extent="{{ default_extent }}" data-module-map_config="{{ h.dump_json(map_config) }}">
<div id="dataset-map-container"></div>
</div>
<div id="dataset-map-attribution">
{% snippet "spatial/snippets/map_attribution.html", map_config=map_config %}
</div>
</section>
{% set type = 'asset' if h.ckan_version().split('.')[1] | int >= 9 else 'resource' %}