From ffeed6047ed2dea95b8270ed11d45c307d2066e0 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 12 Nov 2020 13:09:29 -0800 Subject: [PATCH] Fixes reporting import task status --- bookwyrm/templates/import_status.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/import_status.html b/bookwyrm/templates/import_status.html index ffd1fa50..e4eb681e 100644 --- a/bookwyrm/templates/import_status.html +++ b/bookwyrm/templates/import_status.html @@ -8,18 +8,17 @@

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

- {% if task.ready %} + {% if task.successful %}

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

{% elif task.failed %}
TASK FAILED
- {{ task.info }} {% endif %}
- {% if not task.ready and not task.failed %} + {% if task.status == 'PENDING' %} Import still in progress.

(Hit reload to update!)