{% extends "admin/base.html" %} {% import 'actor_registry/snippets/dataset_list.html' as dl with context %} {% block subtitle %}{{ _('Delete contact point') }}{% endblock %} {% block breadcrumb_content %}
  • {{ _('Contact points') }}
  • {{ item.name }}
  • {{ _('Delete') }}
  • {% endblock %} {% block primary_content_inner %}

    {{ _('Delete "{name}"?').format(name=item.name) }}

    {% if not item.active %}
    {{ _('This contact point is already inactive. It is kept around today only so its web address (URI) keeps resolving, in case anything outside this catalogue already links to it or has it cached. Deleting it removes that address for good -- do this only once you are confident nothing depends on it any more.') }}
    {% endif %} {% if owning_actor %}
    {{ _('This contact point belongs to {actor}. That publisher is not affected by deleting this contact point.').format(actor=owning_actor.name) }}
    {% endif %} {% if linked_datasets.total > 0 %}
    {{ _('This will affect other records:') }}

    {{ _('Datasets listing this contact point') }}

    {{ dl.dataset_list(linked_datasets, h.url_for('actor_registry.contactpoints_datasets', item_id=item.id), '') }} {% else %}
    {{ _('No datasets currently reference this contact point.') }}
    {% endif %}
    {{ h.csrf_input() }}
    {{ _('Cancel') }}
    {% endblock %}