{% extends "admin/base.html" %} {% import 'actor_registry/snippets/dataset_list.html' as dl with context %} {% block subtitle %}{{ item.name }}{% endblock %} {% block breadcrumb_content %}
  • {{ _('Publishers') }}
  • {{ 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 not item.active %}
    {% if merged_into %} {{ _('This publisher has been merged with') }} {{ merged_into.name }}. {{ _('Use that record from now on.') }} {% else %} {{ _('This publisher is inactive.') }} {% endif %}
    {% endif %}
    {{ _('Kind') }}
    {{ _('Person') if item.actor_kind == 'person' else _('Organization') }}
    {% if item.actor_type %}
    {{ _('Type') }}
    {{ item.actor_type }}
    {% endif %} {% if item.identifier %}
    {{ _('Identifier') }}
    {{ item.identifier }}{% if item.identifier_scheme %} ({{ item.identifier_scheme }}){% endif %}
    {% endif %} {% if item.uri %}
    URI
    {% if h.is_url(item.uri) %}{{ item.uri }}{% else %}{{ item.uri }}{% endif %}
    {% endif %} {% if item.url %}
    {{ _('URL') }}
    {% if h.is_url(item.url) %}{{ item.url }}{% else %}{{ item.url }}{% endif %}
    {% endif %} {% if item.email %}
    {{ _('Email') }}
    {{ item.email }}
    {% endif %} {% if item.description %}
    {{ _('Description') }}
    {{ item.description }}
    {% endif %}
    {% if item.active %}

    {% trans count=linked.publisher.total %}Publisher for {{ count }} dataset{% pluralize %}Publisher for {{ count }} datasets{% endtrans %}

    {{ dl.dataset_list(linked.publisher, h.url_for('actor_registry.actors_datasets', item_id=item.id, link='publisher'), _('No datasets have this publisher.')) }} {% endif %} {% endblock %}