{% extends "layout.html" %} {% block content %}

{{ state }} jobs

{{ counts.get(state, 0) | num }} {%- if queue %}queue: {{ queue }}{{ icons.x }}{% endif %}
{%- if state == "failed" and jobs %}
{%- endif %}
{% if jobs %}
{% for j in jobs %} {% set attempts = j.attempts or 0 %} {% endfor %}
JobClassQueuePriorityAttemptsWhen
#{{ j.id }} {{ j.class_name }} {{ j.queue_name }} {{ j.priority }} {% if attempts > 1 %}{{ attempts }}{% else %}{{ attempts }}{% endif %} {% if state == "failed" %}
{% endif %}
{% else %} {% endif %} {% endblock %}