{% extends "paxalia/base.html" %} {% load static i18n %} {% block title %}{% trans "Import Result" %} · {% trans "Paxalia Admin" %}{% endblock %} {% block page_title %}{% trans "Import result" %}{% endblock %} {% block page_subtitle %}{% trans "Structured results from the Paxalia package operation" %}{% endblock %} {% block extra_css %}{% endblock %} {% block dashboard_content %}
{{ result.package_id }}

{% if dry_run %}{% trans "Dry run result" %}{% else %}{% trans "Import completed" %}{% endif %}

{% if dry_run %}{% trans "The package was validated and planned without committing any database changes." %}{% else %}{% trans "The operation is now auditable and any reported failed records can be isolated into a retry package." %}{% endif %}

{% trans "Package center" %}{% if failure_report_url and result.failed %}{% trans "Failure report" %}{% endif %}{% if retry_url %}{% trans "Download retry package" %}{% endif %}
{% trans "Models" %}{{ result.model_count }}
{% trans "Created" %}{{ result.created }}
{% trans "Updated" %}{{ result.updated }}
{% trans "Skipped" %}{{ result.skipped }}
{% trans "Failed" %}{{ result.failed }}
{% trans "Outcome" %}

{% trans "Operation summary" %}

{% if result.failed %}{{ result.failed }} {% trans "failed" %}{% else %}{% trans "No failures" %}{% endif %}

{% blocktrans with count=result.record_count %}{{ count }} records were evaluated by the package engine.{% endblocktrans %}

{% if result.errors %}
{% for error in result.errors|slice:":20" %}
#{{ error.index|add:1 }}{{ error.model }} — {{ error.reason }}
{% endfor %}
{% endif %}
{% endblock %}