{# Renders a list of resources with icons and view links. resources - A list of resources (dicts) to render data - A package dict that the resources belong to. is_activity_archive - Whether this is an old version of the dataset (and therefore read-only) Example: {% snippet "package/snippets/resources_list.html", data=data, resources=data.resources %} #} {%- set data = c.data -%}

{{ _('Contracts') }}

{% block contract_list %} {% if contracts %} {% else %} {% if h.check_access('resource_create', {'package_id': data['id']}) and not is_activity_archive %} {% trans url=h.url_for(data.type ~ '_resource.new', id=data.name) %}

This item has no contracts, why not create some?

{% endtrans %} {% else %}

{{ _('This item has no contracts.') }}

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