{% if not pdoc.data.length and not pdoc.reference %}

{{ _('No testdata at current.') }}

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

{{ pdoc.config }}

{% endif %} {% if tdoc and tdoc.docType == model.document.TYPE_CONTEST and model.contest.isDone(tdoc) %}

{{ _('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.') }}

{% endif %} {{ pdoc.content|content(handler.request.query.lang or handler.user.viewLang or handler.session.viewLang, pdoc.html)|safe }}