{% extends "base.html" %} {% load i18n static timedelta %} {% block body %}
{% trans "Task report" %} | {% trans "Started at" %} | {% trans "Done at" %} | {% trans "Duration" %} | {% trans "State" %} | {% trans "CPU cost" %} | {% trans "GPU cost" %} | |
---|---|---|---|---|---|---|---|
{{ report.label }} | {{ report.started_at }} | {{ report.done_at }} | {{ report.duration|format_timedelta }} | {% with state=report.get_workflow_state_display %} {% if state == "Finished" %} {{ state }} {% elif state == "Crashed" %} {{ state }} {% elif state == "Running" %} {{ state }} {% else %} {{ state }} {% endif %} {% endwith %} | {% if report.cpu_cost %} {{ report.cpu_cost|floatformat:2 }} {% else %} 0 {% endif %} CPU-min | {% if report.gpu_cost %} {{ report.gpu_cost|floatformat:2 }} {% else %} 0 {% endif %} GPU-min | {% trans "Details" %} |
{% trans "You don't have any task report yet." %} |