{% extends "dashboard/base.html" %} {% load i18n %} {% load hro %} {% block content %}
{{ object.get_status_id|upper }}
{% include "dashboard/vm-detail/_activity-timeline.html" with active=object %}
{% trans "activity code" %}
{{object.activity_code}}
{% trans "instance" %}
{{object.instance}}
{% trans "time" %}
{{object.started|default:'n/a'}} → {{object.finished|default:'n/a'}}
{% trans "user" %}
{{object.user|default:'(system)'}}
{% trans "type" %}
{% if object.parent %} {% blocktrans with url=object.parent.get_absolute_url name=object.parent %} subactivity of {{name}} {% endblocktrans %} {% else %}{% trans "top level activity" %}{% endif %}
{% trans "task uuid" %}
{{ object.task_uuid|default:'n/a' }}
{% trans "status" %}
{{ object.get_status_id }}
{% trans "result" %}
{% trans "resultant state" %}
{{object.resultant_state|default:'n/a'}}
{% trans "subactivities" %}
{% for s in object.children.all %}
{{ s.readable_name|get_text:user|capfirst }} – {% if s.finished %} {{ s.finished|time:"H:i:s" }} {% else %} {% endif %} {% if s.has_failed %}
{% trans "failed" %}
{% endif %}
{% empty %}
{% trans "none" %}
{% endfor %}
{% endblock %}