{% import "components/paginator.html" as paginator with context %} {% import "components/ui/v1.html" as ui_v1 %} {% import "partials/course_visibility_toggle.html" as vis with context %} {% extends "layout/basic.html" %} {% block content %}
{% if canCreate or canOrderCourses %}
{% if canCreate %} {{ _('New Course') }} {% endif %} {% if canOrderCourses %} {{ _('Adjust Course Order') }} {% endif %}
{% endif %}
{% if not cdocs.length %}
{{ ui_v1.empty_state(_('No course yet...')) }}
{% else %} {% endif %}
{% endblock %}