{% extends "layout/basic.html" %} {% import "components/contest.html" as contest with context %} {% import "components/record.html" as record with context %} {% import "components/problem.html" as problem with context %} {% block content %} {{ set(UiContext, 'tdoc', tdoc) }}

{{ _('Problems') }}

{% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} {% endif %} {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} {% endif %} {%- for pid in tdoc.pids -%} {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} {% if psdict[pid] and psdict[pid].rid %} {% set rdoc = rdict[psdict[pid].rid] %} {% if model.contest.canShowSelfRecord.call(handler, tdoc) %} {{ record.render_status_td(rdoc) }} {% else %} {% endif %} {% else %} {% endif %} {% endif %} {%- endfor -%}
{{ _('Status') }} {{ _('Last Submit At') }}{{ _('Problem') }}
{{ _('Submitted') }}{{ datetimeSpan(rdoc._id)|safe }}{{ _('No Submissions') }} - {{ String.fromCharCode(65+loop.index0) }}  {{ pdict[pid].title }}

{{ _('Submissions') }}

{% if not canViewRecord %} {{ nothing.render('According to the contest rules, you cannot view your submission details at current.') }}' {% elif not rdocs.length %} {{ nothing.render('Oh, there is no submission!') }} {% else %} {%- for rdoc in rdocs -%} {% set udoc = udict[rdoc['uid']] %} {% set pdoc = pdict[rdoc['pid']] %} {% include 'record_main_tr.html' %} {%- endfor -%}
{{ _('Status') }} {{ _('Problem') }} {{ _('Submit By') }} {{ _('Time') }} {{ _('Memory') }} {{ _('Language') }} {{ _('Submit At') }}
{% endif %}
{% set owner_udoc = udict[tdoc.owner] %} {% include "partials/contest_sidebar.html" %}
{% endblock %}