{% load i18n %} {# Large reviews run as jobs of the proposal (#101). Reload the page to follow one that is waiting or running. #}

{{ title }}

{% if viewable %} {% endif %} {% if running %} {% elif lost %} {% else %} {% if error %} {% endif %} {% if result.interrupted %} {% endif %} {% if result.applied is not None %} {% if result.failed is not None %} {% endif %} {% if result.missing_permissions %} {% endif %} {% endif %} {% if result.dismissed is not None %} {% endif %} {% if result.remaining is not None %} {% endif %} {% endif %} {% if result.superseded %} {% endif %}
{% trans "Job" %} {% if viewable %}#{{ job.pk }}{% endif %} {{ job.get_status_display }}
{% trans "Action" %} {% if result.action == "dismiss" %}{% trans "Dismiss" %}{% else %}{% trans "Apply" %}{% endif %} {% if result.items is not None %} {% blocktrans count items=result.items %}{{ items }} item{% plural %}{{ items }} items{% endblocktrans %} {% endif %}
{% trans "Requested by" %} {{ job.user.username|default:"-" }} {{ job.created|date:"SHORT_DATETIME_FORMAT" }}
{% trans "Waiting or running: reload the page to see the result." %}
{% trans "This job never finished (the background worker may have stopped). Review the open items again." %}
{% trans "Error" %} {% if viewable %}{{ error }}{% else %}{% trans "The job did not finish." %}{% endif %}
{% trans "Stopped halfway: the counts below are what it did before it stopped." %}
{% trans "Applied" %}{{ result.applied }}
{% trans "Failed" %}{{ result.failed }}
{% trans "Missing permissions" %} {{ result.missing_permissions|join:", " }}
{% trans "Dismissed" %}{{ result.dismissed }}
{% trans "Still open" %}{{ result.remaining }}
{% trans "Skipped" %} {% blocktrans count n=result.superseded %}{{ n }} picked item was replaced by a newer import or decided by someone else meanwhile: review again.{% plural %}{{ n }} picked items were replaced by a newer import or decided by someone else meanwhile: review again.{% endblocktrans %}