{% extends "admin/base.html" %} {% import 'actor_registry/snippets/dataset_list.html' as dl with context %} {% block subtitle %}{{ item.name }}{% endblock %} {% block breadcrumb_content %}
  • {{ _('Contact points') }}
  • {{ item.name }}
  • {% endblock %} {# No sidebar: CKAN then gives the page its full width (no-nav). #} {% block secondary %}{% endblock %} {% block primary_content_inner %}

    {{ item.name }}

    {% if actor %}
    {{ _('Belongs to organization') }}
    {{ actor.name }}
    {% endif %} {% if item.email %}
    {{ _('Email') }}
    {{ item.email }}
    {% endif %} {% if item.phone %}
    {{ _('Phone') }}
    {{ item.phone }}
    {% endif %} {% if item.url %}
    {{ _('URL') }}
    {% if h.is_url(item.url) %}{{ item.url }}{% else %}{{ item.url }}{% endif %}
    {% endif %} {% if item.uri %}
    URI
    {% if h.is_url(item.uri) %}{{ item.uri }}{% else %}{{ item.uri }}{% endif %}
    {% endif %}

    {% trans count=linked.total %}Linked to {{ count }} dataset{% pluralize %}Linked to {{ count }} datasets{% endtrans %}

    {{ dl.dataset_list(linked, h.url_for('actor_registry.contactpoints_datasets', item_id=item.id), _('No dataset is linked to this contact point.')) }} {% endblock %}