{% extends "app_home/base.html" %} {% load static %} {% load i18n %} {% block navbar_app %} {% include 'app_home/_sidebar.html' %} {% endblock %} {% block title %}

  {% trans "Task Detail" %}


{% endblock %} {% block content %}
{% trans "Back to tasks" %} {% if task.state == "QUEUED" or task.state == "RUNNING" %}
{% csrf_token %}
{% endif %}
{% if task.state == "QUEUED" or task.state == "RUNNING" %}
{% else %}
{% endif %} {% if estimated %} {% endif %} {% if task.progress and task.progress.percent != 100 %} {% endif %} {% if output_items %} {% for key, val in output_items %} {% endfor %} {% elif task.output %} {% endif %} {% if task.attachment %} {% endif %} {% if params_items %} {% for key, val in params_items %} {% endfor %} {% elif task.params %} {% endif %}
{% trans "Name" %} {{ task.name }}
{% trans "State" %} {{ task.state }}
{% trans "Handle" %} {{ task.handle }}
{% trans "Owner" %} {{ task.owner_id }} ({{ task.owner_type }})
{% trans "Singleton" %} {{ task.singleton|default:"-" }}
{% trans "Created" %} {{ task.created_at|date:"Y-m-d H:i:s" }}
{% trans "Finished" %} {{ task.finished_at|date:"Y-m-d H:i:s"|default:"-" }}
{% trans "Duration" %} {% if task.duration %}{{ task.duration|floatformat:1 }}s{% else %}-{% endif %}
{% trans "Estimated remaining" %} {{ estimated|floatformat:1 }}s
{% trans "Progress" %}
{{ task.progress.percent|default:0 }}% {% if task.progress.message %} — {{ task.progress.message }}{% endif %} {% if task.progress.count and task.progress.total %} ({{ task.progress.count }}/{{ task.progress.total }}){% endif %}
{% trans "Output" %}
{{ key }}
{{ val }}
{% trans "Output" %}
{{ task.output }}
{% trans "Attachment" %}
{{ task.attachment }}
{% trans "Params" %}
{{ key }}
{{ val }}
{% trans "Params" %}
{{ task.params }}
{% endblock %}