{% ckan_extends %} |
{% ckan_extends %} |
|
{% block primary_content_inner %} |
|
{{ super() }} |
|
<div class="module-content"> |
|
{{ h.disqus_comments() }} |
|
</div> |
|
{% endblock %} |
|
|
{% block package_additional_info %} |
{% block secondary_content %} |
{{ super() }} |
{{ super() }} |
|
|
{# Add our custom field to the dataset read page. #} |
{% set dataset_extent = h.get_pkg_dict_extra(c.pkg_dict, 'spatial', '') %} |
{% if pkg.get('agency_program') %} |
{% if dataset_extent %} |
<section class="resources module-content"> |
{% snippet "spatial/snippets/dataset_map_sidebar.html", extent=dataset_extent %} |
<p><strong>Agency Program</strong>: {{ pkg.agency_program }}</p> |
{% endif %} |
</section> |
|
{% endif %} |
|
{% if pkg.get('contact_point') %} |
|
<section class="resources module-content"> |
|
<p><strong>Contact Point</strong>: {{ pkg.contact_point }}</p> |
|
</section> |
|
{% endif %} |
|
{% if pkg.get('spatial_coverage') %} |
|
<section class="resources module-content"> |
|
<p><strong>Geospatial Coverage</strong>: {{ pkg.spatial_coverage }}</p></section> |
|
{% endif %} |
|
{% if pkg.get('granularity') %} |
|
<section class="resources module-content"> |
|
<p><strong>Data Granularity</strong>: {{ pkg.granularity }}</p></section> |
|
{% endif %} |
|
{% if pkg.get('jurisdiction') %} |
|
<section class="resources module-content"> |
|
<p><strong>Government Jurisdiction</strong>: {{ pkg.jurisdiction }}</p></section> |
|
{% endif %} |
|
{% if pkg.get('temporal_coverage') %} |
|
<section class="resources module-content"> |
|
<p><strong>Temporal Coverage</strong>: {{ pkg.temporal_coverage }}</p></section> |
|
{% endif %} |
|
{% if pkg.get('data_state') %} |
|
<section class="resources module-content"> |
|
<p><strong>Data State</strong>: {{ pkg.data_state }}</p></section> |
|
{% endif %} |
|
{% if pkg.get('update_freq') %} |
|
<section class="resources module-content"> |
|
<p><strong>Update Frequency</strong>: {{ pkg.update_freq }}</p></section> |
|
|
|
{% endif %} |
|
|
|
{% endblock %} |
{% endblock %} |
|
|