{% extends "base.html" %} {% block title %}{{ _('Background Tasks') }} — {{ service_name }}{% endblock %} {% block content %}

{{ _('Background Tasks') }}

{% if config['ENABLE_BACKGROUND_TASKS'] %}

{{ _('Background tasks are currently enabled.') }}

{% else %}

{{ _('Background tasks are currently disabled.') }}

{% endif %} {% if tasks %}

{{ _('This table shows a list of pending or failed tasks.') }} {{ _('Some tasks will be deleted automatically once they are completed or fail.') }}

{% for task in tasks %} {% endfor %}
{{ _('ID') }} {{ _('Type') }} {{ _('Status') }} {{ _('Data') }}
{{ task.id }} {{ task.type }} {{ task.status.name }}
{% else %}

{{ _('There are no pending or failed tasks.') }} {{ _('Some tasks will be deleted automatically once they are completed or fail.') }}

{% endif %} {% endblock %}