{% extends 'layout.html' %} {% load fr_display %} {% load humanize %} {% block content %}

Import Status

Import started: {{ job.created_date | naturaltime }}

{% if task.successful %}

Import completed: {{ task.date_done | naturaltime }}

{% elif task.failed %}
TASK FAILED
{% endif %}
{% if not task.ready %} Import still in progress.

(Hit reload to update!)

{% endif %}
{% if failed_items %}

Failed to load

{% if not job.retry %}
{% csrf_token %}
{% else %} {% endif %}
{% endif %}

Successfully imported

{% for item in items %} {% endfor %}
Book Title Author
{% if item.book %} {% include 'snippets/book_cover.html' with book=item.book size='small' %} {% endif %} {{ item.data|dict_key:'Title' }} {{ item.data|dict_key:'Author' }} {% if item.book %} Imported {% endif %}
{% endblock %}