{% load djangocd_extras %} {% for index in njobs|listrange:1 reversed %} {% endfor %} {% for name, jobruns, nextrun in rows %} {% for jobrun in jobruns reversed %} {% endfor %} {% endfor %}
Job name {{ index }} Next
{{ name }} {%if jobrun.id %} {% if jobrun.state == "success" %} {% elif jobrun.state == "running" %} {% elif jobrun.state == "error" %} {% endif %} {% endif %} {% if nextrun %} {% endif %}