<%page expression_filter="h"/> <%inherit file="/main.html" /> <%namespace name='static' file='/static_content.html'/> <%! from django.utils.translation import ugettext as _ from edxnotes.helpers import is_feature_enabled as is_edxnotes_enabled from openedx.core.djangolib.markup import HTML from openedx.core.djangolib.js_utils import js_escaped_string %> <%def name="course_name()"> <% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %> <%block name="bodyclass">view-in-course view-courseware courseware ${course.css_class or ''} <%block name="title"> % if section_title: ${static.get_page_title_breadcrumbs(section_title, course_name())} % else: ${static.get_page_title_breadcrumbs(course_name())} %endif <%block name="header_extras"> % for template_name in ["image-modal"]: % endfor <% header_file = None %> <%block name="headextra"> <%static:css group='style-course-vendor'/> <%static:css group='style-course'/> ## Utility: Notes % if is_edxnotes_enabled(course): <%static:css group='style-student-notes'/> % endif <%include file="../discussion/_js_head_dependencies.html" /> ${HTML(fragment.head_html())} <%block name="js_extra"> ## codemirror <%static:js group='courseware'/> <%include file="../discussion/_js_body_dependencies.html" /> % if staff_access: <%include file="xqa_interface.html"/> % endif ${HTML(fragment.foot_html())}
${HTML(fragment.body_html())}
<%include file="../modal/accessible_confirm.html" />