{% extends "layout/basic.html" %} {% block content %}
{% endif %} {% if pdoc['data'] is mapping %}{{ _('No dataset at present.') }}
{% endif %} {% if tdoc %} {% if tdoc['doc_type'] == vj4.model.document.TYPE_CONTEST %} {% if handler.is_done(tdoc) %}{{ _('Test data comes from') }} {{ pdoc['data']['domain'] }}/{{ pdoc['data']['pid'] }}
{% endif %}{# handler.is_done(tdoc) #} {% else %}{# tdoc['doc_type'] == vj4.model.document.TYPE_CONTEST #} {% if handler.is_homework_extended(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.') }}
{% elif handler.is_done(tdoc) %}{# handler.is_homework_extended(tdoc) #}{{ _('The homework\'s deadline is due but in extension. You can still submit for this problem but your score will be penalized.') }}
{% endif %}{# handler.is_homework_extended(tdoc) #} {% endif %}{# tdoc['doc_type'] == vj4.model.document.TYPE_CONTEST #} {% endif %}{# tdoc #} {{ pdoc['content']|markdown }}{{ _('You cannot submit for this problem because the homework\'s deadline is due.') }}