{% extends "base.html" %} {% load i18n %} {% load django_bootstrap5 %} {% load bootstrap_icons %} {% load operations %} {% block title %}{% trans "Jobs" %}{% endblock %} {% block page_heading %}{% trans "Jobs" %}{% endblock page_heading %} {% block content %}
| {% trans "Created" %} | {% trans "Job" %} | {% trans "State" %} | {% trans "Resource" %} | {% if request.user.is_superuser %}{% trans "User" %} | {% endif %}
|---|---|---|---|---|
| {{ op.created_at|date:"M d H:i:s" }} |
{{ row.label }}
{% if op.state in active_states and op.phase %}
{% translate op.phase %}
{% elif op.state == "failed" or op.state == "uncertain" %}
{{ op.error|truncatechars:80 }}
{% endif %}
{# below md the hidden columns show here #}
{{ row.resource_label|wrap_at_slash }}
{{ op.created_at|date:"M d H:i:s" }}{% if request.user.is_superuser %} · {{ row.username }}{% endif %} |
{% include "operations/state_badge.html" with state=op.state %} | {{ row.resource_label|wrap_at_slash }} | {% if request.user.is_superuser %}{{ row.username }} | {% endif %}