{% import "components/problem.html" as problem with context %} {% import "partials/course_visibility_toggle.html" as vis with context %} {% set expanded = 0 %} {% set count = 0 %} {% include "course_inline_order_style.html" %}
{%- for node in csdoc['dag'] -%} {% set count = count + 1 %}
{% if handler.user.hasPerm(perm.PERM_EDIT_DOMAIN) or handler.user.hasPerm(perm.PERM_EDIT_TRAINING) %}
{% if handler.user.hasPerm(perm.PERM_EDIT_DOMAIN) %}
{% endif %} {{ vis.inline('subsec', node, cdoc.docId, csdoc.docId, node._id) }}
{% endif %}
{%- endfor -%}