%inherit file="/main.html" />
<%namespace name='static' file='/static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from django.template.defaultfilters import escapejs
from edxnotes.helpers import is_feature_enabled as is_edxnotes_enabled
%>
<%def name="course_name()">
<% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %>
%def>
<%block name="bodyclass">view-in-course view-courseware courseware ${course.css_class or ''}%block>
<%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>
<%block name="header_extras">
% for template_name in ["image-modal"]:
% endfor
<%
header_file = None
%>
%block>
<%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" />
${fragment.head_html()}
%block>
<%block name="js_extra">
## codemirror
<%static:js group='courseware'/>
<%static:js group='discussion'/>
<%include file="../discussion/_js_body_dependencies.html" />
% if staff_access:
<%include file="xqa_interface.html"/>
% endif
${fragment.foot_html()}
%block>
<%include file="../modal/accessible_confirm.html" />