{% extends "common-content.html" %} {% block js_media %} {% endblock %} {% block media %} {% endblock %} {% block body %} {% for case in range(num_cases) %} {% endfor %} {% for sub in submissions %} {% for case in sub.test_cases.all() %} {% endfor %} {% endfor %}
ID Username Result Language Date{{ loop.index }}
{{ sub.id }} {{ link_user(sub.user) }} {{ sub.result }} {{ sub.language.name }} {{ relative_time(sub.date) }} {% if case.status == 'SC' %} --- {% else %} {% if case.status == 'AC' %} {{ case.time|floatformat(2) }} {% else %} {{ case.status }} {% endif %} {% endif %}
{% endblock %}