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

Import Status

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

{% if task.ready %} Import completed: {{ task.date_done | naturaltime }} {% if task.failed %}

TASK FAILED

{{ task.info }} {% endif %}

{% if job.import_status %} {% include 'snippets/status.html' with status=job.import_status %} {% endif %} {% else %} Import still in progress.

(Hit reload to update!) {% endif %}

{% 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 %}✓ {% elif item.fail_reason %} {{ item.fail_reason }} {% endif %}
{% endblock %}