feat: ✨ added Spatial to template
This commit is contained in:
parent
cc28703eb0
commit
94af245372
|
@ -2,6 +2,11 @@
|
|||
|
||||
{% block primary_content_inner %}
|
||||
{{ super() }}
|
||||
{% set dataset_extent = h.get_pkg_dict_extra(c.pkg_dict, 'spatial', '') %}
|
||||
{% dataset_extent %}
|
||||
{% if dataset_extent %}
|
||||
{% snippet "spatial/snippets/dataset_map.html", extent=dataset_extent %}
|
||||
{% endif %}
|
||||
{% block package_description %}
|
||||
{% if pkg.private %}
|
||||
<span class="dataset-private badge badge-inverse pull-right">
|
||||
|
|
Loading…
Reference in New Issue