{% set labels = { "imported": "Imported", "empty": "Nothing to import", "duplicate": "Already imported", "failed": "Failed", "not_checked": "Not checked", } %} {% if problem %}

{{ problem }}

{% else %} {% for outcome in outcomes %} {% endfor %}
IdentifierOutcomeDataset
{{ outcome.identifier }} {{ labels[outcome.status] }} {% if outcome.status == "empty" %} The repository holds no records of the kind the importer reads for this identifier. {% elif outcome.status == "duplicate" %} Datasets named after “{{ outcome.detail }}” exist, with and without the identifier. {% elif outcome.status == "not_checked" %} The repository did not answer. Try again later. {% elif outcome.status == "failed" %} {{ outcome.detail }} {% endif %} {% if outcome.name %} {{ outcome.name }} {% endif %}
{% endif %}