{% extends "admin/base.html" %} {% block primary_content_inner %}

{{ _('Catalogue overview') }}

{% snippet 'metadata_assistant/admin/_nav.html', active='overview' %}

{{ _('What the rule check finds across all datasets. The rules work without any AI and change nothing. Click a row to see which datasets it concerns.') }}

{% set total = overview.datasets %} {% if not total %}

{{ _('There are no datasets yet.') }}

{% elif not overview.findings %}

{{ _('The rule check has nothing to say about any of the {count} datasets.').format(count=h.metadata_assistant_number(total)) }}

{% else %}

{{ _('{count} datasets were checked.').format(count=h.metadata_assistant_number(total)) }}

{% for item in overview.findings %} {% endfor %}
{{ _('Finding') }}{{ _('Field') }}{{ _('Datasets') }}{{ _('Share') }}
{{ item.message }} {% if item.count > item.datasets|length %}

{{ _('Showing {shown} of {all}.').format(shown=h.metadata_assistant_number(item.datasets|length), all=h.metadata_assistant_number(item.count)) }}

{% endif %}
{{ item.label or '–' }} {{ h.metadata_assistant_number(item.count) }} {{ h.metadata_assistant_percent(item.count, total) }}
{% endif %} {% endblock %}