{% if stmtLangs|length > 1 %}
{% endif %} {% if stmtFiles|length > 1 %}
    {% for f in stmtFiles %} {{ f }} {% endfor %}
{% endif %}
{% if not pdoc.data.length and not pdoc.reference %}

{{ _('No {0} at current.').format(_("testdata")) }}

{% endif %} {% if typeof(pdoc.config) == 'string' %}

{{ pdoc.config }}

{% endif %} {% if pdoc.config.langs and not pdoc.config.langs|length %}

{{ _('No submission language available for this problem.') }}

{% endif %} {% if tdoc and tdoc.docType == model.document.TYPE_CONTEST %} {% if mode == 'view' %}

{{ _('You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.') }}

{% elif mode == 'correction' %}

{{ _('The contest is ended. New submissions will be treated as correction submissions and will not be counted in the contest.') }}

{% endif %} {% endif %} {% if not renderredContent %} {% set preferredLang = handler.request.query.lang or handler.user.viewLang or handler.session.viewLang %} {% set renderredContent = statements|statementRender(preferredLang, handler.request.query.file, pdoc, handler.request.query.tid) %} {% endif %} {{ renderredContent|safe }}