{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block title %}{{ object }} - {% trans "Run History" %}{% endblock %} {% block extra_controls %} {% trans "Sync" %} {% endblock extra_controls %} {% block content %} {% if not history.available %}
| {% trans "Runs shown" %} | {{ history.run_count }} |
|---|---|
| {% trans "Peak change volume" %} | {{ history.max_changes }} |
| {% trans "Runs with failures" %} | {% if history.failed_runs %} {{ history.failed_runs }} {% else %} 0 {% endif %} |
| {% trans "Run" %} | {% trans "Created" %} | {% trans "Snapshot" %} | {% trans "Mode" %} | {% trans "Created" %} | {% trans "Updated" %} | {% trans "Deleted" %} | {% trans "Failed" %} | {% trans "Total" %} | {% trans "Duration (s)" %} | {% trans "Top models (by change)" %} |
|---|---|---|---|---|---|---|---|---|---|---|
| {% if run.url %}{{ run.id }}{% else %}{{ run.id }}{% endif %} | {{ run.created|placeholder }} | {{ run.snapshot_id|placeholder }}{% if run.snapshot_selector %} ({{ run.snapshot_selector }}){% endif %} | {{ run.sync_mode|placeholder }} | {{ run.created_count }} | {{ run.updated_count }} | {{ run.deleted_count }} | {% if run.failed %}{{ run.failed }}{% else %}0{% endif %} | {{ run.total_changes }} | {{ run.duration_seconds|placeholder }} |
{% for model in run.top_models %}
{{ model.model }}{% if model.estimated_changes %} ({{ model.estimated_changes }}){% endif %}{% if not forloop.last %}, {% endif %}
{% empty %}
—
{% endfor %}
|