{# Renders a list of resources with icons and view links. resources - A list of resources to render pkg - A package object that the resources belong to. Example: {% snippet "package/snippets/resources_list.html", pkg=pkg, resources=pkg.resources %} #} {% set exists = [] %} {% for extra in pkg.extras %} {% if extra.key == 'data-dictiionary' or extra.key == 'dataDictionary' or extra.key == 'landingPage' or extra.key == 'webService' %} {% do exists.append(1) %} {% endif %} {% endfor %} {% if resources or exists|length > 0 %}

{{ _('Downloads & Resources') }}

{% block resource_list %} {% endblock %}
{% else %}

{{ _('Downloads & Resources') }}

{% if (h.get_pkg_dict_extra(pkg, 'accessLevel') == 'non-public') %}
No file downloads are available because this is not a public dataset. See Access & Use Information for details.
{% else %}
No file downloads have been provided. The publisher may provide downloads in the future or they may be available from their other links.
{% endif %}
{% endif %}