From c9ca902871317fb725c53976dd63905fa6caf199 Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 31 Oct 2023 12:24:03 +0100 Subject: [PATCH] Remove attribution as this is handled in the map itself --- ckanext/spatial/public/css/spatial_query.css | 4 ---- .../spatial/templates/spatial/snippets/dataset_map_base.html | 3 --- ckanext/spatial/templates/spatial/snippets/spatial_query.html | 3 --- 3 files changed, 10 deletions(-) diff --git a/ckanext/spatial/public/css/spatial_query.css b/ckanext/spatial/public/css/spatial_query.css index 3525f4a..fdc287d 100644 --- a/ckanext/spatial/public/css/spatial_query.css +++ b/ckanext/spatial/public/css/spatial_query.css @@ -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; diff --git a/ckanext/spatial/templates/spatial/snippets/dataset_map_base.html b/ckanext/spatial/templates/spatial/snippets/dataset_map_base.html index f5b500e..d115a4b 100644 --- a/ckanext/spatial/templates/spatial/snippets/dataset_map_base.html +++ b/ckanext/spatial/templates/spatial/snippets/dataset_map_base.html @@ -13,9 +13,6 @@ extent {% set map_config = h.get_common_map_config() %}
-
- {% snippet "spatial/snippets/map_attribution.html", map_config=map_config %} -
{% set type = 'asset' if h.ckan_version().split('.')[1] | int >= 9 else 'resource' %} diff --git a/ckanext/spatial/templates/spatial/snippets/spatial_query.html b/ckanext/spatial/templates/spatial/snippets/spatial_query.html index 27b8130..d8c3e0e 100644 --- a/ckanext/spatial/templates/spatial/snippets/spatial_query.html +++ b/ckanext/spatial/templates/spatial/snippets/spatial_query.html @@ -22,9 +22,6 @@ e.g.
-
- {% snippet "spatial/snippets/map_attribution.html", map_config=map_config %} -
{% set type = 'asset' if h.ckan_version().split('.')[1] | int >= 9 else 'resource' %}