{% extends "package/read.html" %} {%- set schema = h.scheming_get_dataset_schema(dataset_type) -%} {% block package_notes %} {%- if not dataset_type -%}

dataset_type not passed to template. your version of CKAN might not be compatible with ckanext-scheming

{%- endif -%} {% if pkg.notes%}
{{ h.render_markdown(h.get_translated(pkg, 'notes')) }}
{% endif %} {% endblock %} {% block package_resources %} {% snippet "package/snippets/resources_list.html", pkg=pkg, resources=pkg.resources, can_edit=h.check_access('package_update', {'id':pkg.id }) %} {% endblock %} {% block package_additional_info %} {% snippet "scheming/package/snippets/additional_info.html", pkg_dict=pkg, dataset_type=dataset_type, schema=schema %} {% endblock %} {% block title %}Available contracts for this remote {{ dataset_type }} - {{ super() }}{% endblock %} {% block content_action %} {% endblock %} {% block content_primary_nav %} {% endblock %} {% block secondary_content %}

{% trans %}This is a list of the available contracts for this external resource.{% endtrans %}

See the contracts for this resource

{% if "trusts_recommender" in g.plugins %} {% block recomm_entity_sidebar %} {% snippet 'package/snippets/recomm_entity_sidebar.html', entity=g.pkg_dict, count=3 %} {% endblock %} {% endif %} {% endblock %} {% block primary_content_inner %} {{ super() }} {% if 'local_artifacts' in g %} {% snippet "package/snippets/agreements_table.html", local_artifacts=g.local_artifacts, agreements=g.agreements %} {#
These artifacts are now available for you to consume: {% if dataset_type=="service" %} {% endif %}#} {% else %} You have not acquired this resource so far. If you want to access its artifacts, please select a contract from below. {% endif %}
{% block contract_list %} {% snippet "package/snippets/contracts_list.html", data=g.pkg_dict, contracts=g.contracts %} {% endblock %}
{% endblock %}