{% if g.topic %} {% set title = g.topic.title + ": Evaluation queue" %} {% elif g.course %} {% set title = g.course.name + ": Evaluation queue" %} {% else %} {% set title = "Evaluation queue" %} {% endif %} {% extends "base.html" %} {% block body %}

{{ title }}

{% if g.topic %} Back to the topic {% elif g.course %} Back to the course {% else %} Back home {% endif %}
{% if queue %} {% for auto in queue %}
{% if g.course == None %} {{ auto.topic.course.semester.ident }} / {{ auto.topic.course.ident }} / {% endif %} {{ auto.topic.ident }} / {{ auto.target_uid }} {{ auto.created|reltimeformat(with_abs=False) }} {{ auto.updated|reltimeformat(with_abs=False) }} {% if auto.status == 'R' %} ready {% elif auto.error %} {{ auto.error }} {% else %} unknown error {% endif %} {% endfor %}
{% if hit_limit %}

Display limit reached, the queue can contain further items. {% endif %} {% else %}

The queue is empty. {% endif %} {% endblock %}