Merge branch 'feature-show-running-tasks' into 'master'

Show running tasks on dashboard

See merge request allianceauth/allianceauth!1515
This commit is contained in:
Ariel Rin
2023-08-01 10:15:43 +00:00
9 changed files with 189 additions and 37 deletions

View File

@@ -92,8 +92,11 @@
{% include "allianceauth/admin-status/celery_bar_partial.html" with label="failed" level="danger" tasks_count=tasks_failed %}
</div>
<p>
{% blocktranslate with running_count=tasks_running|default_if_none:"?"|intcomma %}
{{ running_count }} running |
{% endblocktranslate %}
{% blocktranslate with queue_length=task_queue_length|default_if_none:"?"|intcomma %}
{{ queue_length }} queued tasks
{{ queue_length }} queued
{% endblocktranslate %}
</p>
</div>