{% endif %} {% if typeof(pdoc.config) == 'string' %}{{ _('No {0} at current.').format(_("testdata")) }}
{% endif %} {% if pdoc.config.langs and not pdoc.config.langs|length %}{{ pdoc.config }}
{% endif %} {% if tdoc and tdoc.docType == model.document.TYPE_CONTEST and model.contest.isDone(tdoc) %}{{ _('No submission language available for this problem.') }}
{% endif %} {% if not renderredContent %} {% set preferredLang = handler.request.query.lang or handler.user.viewLang or handler.session.viewLang %} {% set renderredContent = pdoc.content|content(preferredLang, pdoc.html) %} {% endif %} {{ renderredContent|safe }}{{ _('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.') }}