{#- Paginated "show all" page of datasets: those a publisher publishes (kind 'actor') or those a contact point is linked to (kind 'contact_point'). The datasets that lack one are on the To do page (todo.html). ``data`` is {"rows": [...], "total": n}; see views._linked_datasets. -#} {% extends "actor_registry/base.html" %} {% import 'actor_registry/snippets/dataset_list.html' as dl with context %} {% if kind == 'actor' %} {% set title = item.display_name %} {% set detail_url = h.url_for('actor_registry.actors_show', item_id=item.id) %} {% set heading %}{% trans count=data.total %}Publisher for {{ count }} dataset{% pluralize %}Publisher for {{ count }} datasets{% endtrans %}{% endset %} {% else %} {% set title = item.display_name %} {% set detail_url = h.url_for('actor_registry.contactpoints_show', item_id=item.id) %} {% set heading %}{% trans count=data.total %}Linked to {{ count }} dataset{% pluralize %}Linked to {{ count }} datasets{% endtrans %}{% endset %} {% endif %} {% block subtitle %}{{ title }}{% endblock %} {% block breadcrumb_content %}
{{ _('No datasets to show.') }}
{% endif %} {% endblock %}