{% extends 'base/layout.html' %} {% block title %}Import Log — Job #{{ job_pk }}{% endblock %} {% block content %}
Import Log — Job #{{ job_pk }}
{% if summary %}
Run by
{{ summary.user }}
Mode
{% if summary.commit %} commit {% else %} dry run {% endif %}
Started
{{ summary.started }}
Finished
{{ summary.finished|default:"—" }}
Result
{% if summary.rollup.ok %}{{ summary.rollup.ok }} ok{% endif %} {% if summary.rollup.warning %}{{ summary.rollup.warning }} warning{% endif %} {% if summary.rollup.failed %}{{ summary.rollup.failed }} failed{% endif %}
Job page {% if has_debug %} Full log {% endif %} {% if has_user %} User log {% endif %}
{% else %}

No structured summary for this import (it may have run before summaries existed, or the summary failed to write). The downloadable logs below still hold the full detail.

{% if has_debug %} Full log {% endif %} {% if has_user %} User log {% endif %}

{% endif %}
{% if summary.devices %}
{% for device in summary.devices %}

{% if device.counts %}

{% for key, value in device.counts.items %} {{ value }} {{ key }} {% endfor %}

{% endif %} {% if device.detail %}
{% for line in device.detail %}{{ line }}
{% endfor %}
{% else %}

No detail recorded.

{% endif %}
{% endfor %}
{% endif %}
{% endblock %}