<%page expression_filter="h"/> <%inherit file="/main.html" /> <%namespace name='static' file='/static_content.html'/> <%! from django.utils.translation import ugettext as _ 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) %> % if is_mobile_app: <%include file="/dates_banner.html" /> % endif <%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 edx_notes_enabled: <%static:css group='style-student-notes'/> % endif ${HTML(fragment.head_html())} % if is_learning_mfe: ## If this chromeless view is in an iframe in the learning microfrontend app ## then add a base tag in the head (of the iframe document) to force links ## in this iframe to navigate the parent window. %endif <%block name="js_extra"> <%static:js group='courseware'/> <%include file="/mathjax_include.html" args="disable_fast_preview=True"/> % if staff_access: <%include file="xqa_interface.html"/> % endif ${HTML(fragment.foot_html())}
${HTML(fragment.body_html())}
% if not is_learning_mfe: % if course.show_calculator or edx_notes_enabled: % endif % else: % if edx_notes_enabled: <%include file="/edxnotes/toggle_notes.html" args="course=course"/> % endif % endif % if is_learning_mfe: % endif