{% extends "base.html" %} {% block navbar %} {% module Template("navbar.html", active_tab="tasks") %} {% end %} {% block container %}
{{ task.uuid }}
Name | {{ getattr(task, 'name', None) }} |
UUID | {{ task.uuid }} |
State | {% if task.state == "SUCCESS" %} {{ task.state }} {% elif task.state == "FAILURE" %} {{ task.state }} {% else %} {{ task.state }} {% end %} |
args | {{ task.args }} |
kwargs | {{ task.kwargs }} |
Result | {{ getattr(task, 'result', '') }} |
{{ humanize(name) }} |
{% if name in ['sent', 'received', 'started', 'succeeded', 'retried', 'timestamp', 'failed'] %}
{{ humanize(getattr(task, name, None), type='time') }}
{% elif name == 'worker' %}
{{ task.worker.hostname }}
{% elif name == 'traceback' %}
{{ getattr(task, name, None) }}{% else %} {{ getattr(task, name, None) }} {% end %} |