mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Null state
This commit is contained in:
parent
d76eae358f
commit
fcd96c332d
1 changed files with 16 additions and 9 deletions
|
@ -55,6 +55,13 @@
|
|||
<th>{% trans "Run time" %}</th>
|
||||
<th>{% trans "Priority" %}</th>
|
||||
</tr>
|
||||
{% if not worker %}
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<em>{% trans "No active tasks" %}</em>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for task in worker %}
|
||||
<tr>
|
||||
<td>{{ task.id }}</td>
|
||||
|
@ -72,7 +79,7 @@
|
|||
<h2>{% trans "Workers" %}</h2>
|
||||
|
||||
{% for worker_name, worker in stats.items %}
|
||||
<div class="box">
|
||||
<div class="notification">
|
||||
<h3>{{ worker_name }}</h3>
|
||||
{% trans "Uptime:" %} {{ worker.uptime|uptime }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue