{% import "components/record.html" as record with context %} {% import "components/problem.html" as problem with context %} {% set expanded = 0 %}
{% endif %} {%- for node in tdoc['dag'] -%}{{ _('page.training_detail.see_other_user_detail').format(udict[handler.request.query.uid].uname) }}
{{ _('This section cannot be challenged at present, so please complete the following sections first') }}:
{%- for nid in node['requireNids'] -%}
- {{ _('Section') }} {{ _(nid) }}. {{ ndict[nid]['title'] }} ({{ _('Completed') }} {{ nsdict[nid]['progress'] }}%)
{%- endfor -%}
{{ _('Status') }} | {{ _('My status') }} | {% else %}{{ _('Status') }} | {% endif %} {% endif %}{{ _('Problem') }} | {{ _('Tried') }} | {{ _('AC') }} | {{ _('Difficulty') }} |
---|---|---|---|---|---|---|
{% endif %} {% if should_compare %} {% if self_psdoc['rid'] %} {{ record.render_status_td(self_psdoc, rid_key='rid', short=true) }} {% else %} | {% endif %} {% endif %} {% endif %} | {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} {% endif %} {{ problem.render_problem_title( pdoc, invalid=not tsdoc['enroll'], show_tags=false ) }} | {{ pdoc.nSubmit }} | {{ pdoc.nAccept }} | {{ pdoc['difficulty'] or lib.difficulty(pdoc.nSubmit, pdoc.nAccept) or _('(None)') }} | |
{{ problem.render_problem_title(pdoc, invalid=true) }} | * | * | * |