{% load i18n %} {% load submit_parts %} {% if user_has_admin_privileges %}

{% trans 'View all submits of all users' %} {% comment %} This button is hidden to prevent misclicks that could cause a judge overflow. Also the url path for this command is currently deactivated. TODO: Implement pop-up / confirmation page for resubmit approval {% if receiver.send_to_judge %} {% trans 'Rejudge last submits' %} {% endif %} {% endcomment %}

{% endif %} {% for submit in submits %} {% with review=submit.last_review %} {% if review %} {% else %} {% endif %} {% endwith %} {% endfor %}
{% trans 'Time' %} {% trans 'State' %} {% trans 'Score' %} {% trans 'Actions' %}
{{ submit.time }} {% if review %} {{ review.verbose_response }} {% else %} {% trans 'Not reviewed' %} {% endif %} {% if submit.is_accepted == Submit.NOT_ACCEPTED %} | {% trans 'Not accepted' %} {% elif submit.is_accepted == Submit.ACCEPTED_WITH_PENALIZATION %} | {% trans 'Accepted with penalization' %} {% endif %} {% if review %}{{ review.display_score }}{% else %}..{% endif %} {% trans 'View' %}