Update ckan patches

This commit is contained in:
mjanez 2023-08-22 16:28:24 +02:00
parent 2f1e717a6c
commit 20e4670cf7
3 changed files with 0 additions and 24 deletions

View File

@ -1,14 +0,0 @@
--- /ckan/templates/package/read_base.html
+++ /ckan/templates/package/read_base.html
@@ -23,6 +23,12 @@
{% endblock %}
{% block secondary_content %}
+ {{ super() }}
+
+ {% set dataset_extent = pkg.spatial %}
+ {% if dataset_extent %}
+ {% snippet "spatial/snippets/dataset_map_sidebar.html", extent=dataset_extent %}
+ {% endif %}
{% block secondary_help_content %}{% endblock %}

View File

@ -1,10 +0,0 @@
--- /ckan/templates/package/search.html
+++ /ckan/templates/package/search.html
@@ -70,6 +70,7 @@
{% block secondary_content %}
+{% snippet "spatial/snippets/spatial_query.html", default_extent="[[26.78,-19.21], [44.08, 5.66]]" %}
<div class="filters">
<div>
{% for facet in facet_titles %}