{% import "components/problem.html" as problem with context %} {% extends "layout/basic.html" %} {% block content %} {% if typeof(rdoc['status']) === 'number' and not rev %} {{ set(UiContext, 'socketUrl', "record-detail-conn?domainId=" + rdoc.domainId + "&rid=" + rdoc._id) }} {% endif %} {% if xpInfo %}{{ set(UiContext, 'xpInfo', xpInfo) }}{% endif %}
{{ rdoc['code'] }}
{{ rdoc.teacherComment.content|markdown|safe }}{% endif %} {% if handler.user.hasPerm(perm.PERM_EDIT_DOMAIN) %} {% endif %}