mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-28 04:21:07 +00:00
Fixes dictionary list html validity
This commit is contained in:
parent
d807774c2d
commit
c744faf393
1 changed files with 9 additions and 10 deletions
|
@ -10,18 +10,17 @@
|
||||||
<h1 class="title">{% trans "Import Status" %}</h1>
|
<h1 class="title">{% trans "Import Status" %}</h1>
|
||||||
<a href="{% url 'import' %}" class="has-text-weight-normal help subtitle is-link">{% trans "Back to imports" %}</a>
|
<a href="{% url 'import' %}" class="has-text-weight-normal help subtitle is-link">{% trans "Back to imports" %}</a>
|
||||||
|
|
||||||
|
{% if task.failed %}
|
||||||
|
<div class="notification is-danger">{% trans "TASK FAILED" %}</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<div class="is-flex">
|
<dt class="is-pulled-left mr-5">{% trans "Import started:" %}</dt>
|
||||||
<dt class="has-text-weight-medium">{% trans "Import started:" %}</dt>
|
<dd>{{ job.created_date | naturaltime }}</dd>
|
||||||
<dd class="ml-2">{{ job.created_date | naturaltime }}</dd>
|
|
||||||
</div>
|
|
||||||
{% if job.complete %}
|
{% if job.complete %}
|
||||||
<div class="is-flex">
|
<dt class="is-pulled-left mr-5">{% trans "Import completed:" %}</dt>
|
||||||
<dt class="has-text-weight-medium">{% trans "Import completed:" %}</dt>
|
<dd>{{ task.date_done | naturaltime }}</dd>
|
||||||
<dd class="ml-2">{{ task.date_done | naturaltime }}</dd>
|
|
||||||
</div>
|
|
||||||
{% elif task.failed %}
|
|
||||||
<div class="notification is-danger">{% trans "TASK FAILED" %}</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue