{% import "components/problem.html" as problem with context %} {% extends "layout/basic.html" %} {% block content %} {{ set(UiContext, 'socketUrl', "/record-detail-conn?domainId=" + rdoc.domainId + "&rid=" + rdoc._id) }}
{% include 'record_detail_status.html' %} {% if rdoc['code'] %}

{{ _('Code') }}

{{ rdoc['code'] }}
{% endif %}

{{ _('Information') }}

{% if handler.user.hasPerm(perm.PERM_REJUDGE) %}
{% endif %}
{{ _('Submit By') }}
{{ user.render_inline(udoc, modbadge=false) }}
{% if pdoc %}
{{ _('Problem') }}
{{ problem.render_problem_title(pdoc, tdoc, show_tags=false, show_invisible_flag=false) }}
{% endif %} {% if tdoc %}
{{ _('Homework') if tdoc.rule == 'homework' else _('Contest') }}
{{ tdoc.title }}
{% endif %}
{{ _('Language') }}
{{ model.setting.langs[rdoc.lang].display }}
{{ _('Submit At') }}
{{ datetimeSpan(rdoc._id)|safe }}
{% if rdoc.judgeAt %}
{{ _('Judged At') }}
{{ datetimeSpan(rdoc.judgeAt)|safe }}
{% endif %} {% if judge_udoc %}
{{ _('Judged By') }}
{{ user.render_inline(judge_udoc, badge=false) }}
{% endif %}
{% include 'record_detail_summary.html' %}
{% endblock %}