{# Renders a list of resources with icons and view links. resources - A list of resources (dicts) to render pkg - A package dict that the resources belong to. Example: {% snippet "package/snippets/resources_list.html", pkg=pkg, resources=pkg.resources %} #}

{{ _('Data and Resources') }}

{% block resource_list %} {% if resources %} {% else %} {% block resource_list_empty %} {% if h.check_access('resource_create', {'package_id': pkg['id']}) %} {% trans url=h.url_for(pkg.type ~ '_resource.new', id=pkg.name) %}

This dataset has no data, why not add some?

{% endtrans %} {% else %}

{{ _('This dataset has no data') }}

{% endif %} {% endblock %} {% endif %} {% endblock %}