{% ckan_extends %} {# Note: ckanext-dcor_theme also extends this page #} {# Don't use the standard fields (they are confusing) and expand all other fields by default #} {% block resource_additional_information_inner %}

{{ _('Additional Information') }}

{# Do not use redundant fields #} {% set hidden_keys = ['last modified', 'revision id', 'url type', 'state', 'on same domain', 'has views'] %} {% for key, value in h.format_resource_items(res.items()) %} {# remove keys that make not sense with dcor_schema #} {% if key not in hidden_keys and ":" not in key%} {% endif %} {% endfor %} {# DC metadata #} {% for key, value in h.format_resource_items(res.items()) %} {% if ':' in key %} {% endif %} {% endfor %}
{{ _('Field') }} {{ _('Value') }}
{{ _('license') }} {% snippet "snippets/license.html", pkg_dict=pkg, text_only=True %}
{{ key }} {{ value }}
{{ key }}{{ value }}
{% endblock %}