1
0
Fork 0

Null state for review view during imports

Without this, it will show an empty progress bar and no info about why
the table is empty.
This commit is contained in:
Mouse Reeve 2022-09-14 18:08:16 -07:00
parent c6f4098334
commit fcf796abe1
2 changed files with 10 additions and 2 deletions

View file

@ -41,7 +41,7 @@
</dl>
</div>
{% if not job.complete %}
{% if not job.complete and show_progress %}
<div class="box is-processing">
<div class="block">
<span class="icon icon-spinner is-pulled-left" aria-hidden="true"></span>
@ -94,7 +94,7 @@
<div class="block">
{% block actions %}{% endblock %}
<div class="table-container">
<table class="table is-striped">
<table class="table is-striped is-fullwidth">
<tr>
<th>
{% trans "Row" %}
@ -137,6 +137,13 @@
</td>
</tr>
{% else %}
{% if not items %}
<tr>
<td colspan="6">
<em>{% trans "No items currently need review" %}</em>
</td>
</tr>
{% endif %}
{% for item in items %}
<tr>
{% block index_col %}