This PR removes some bad (duplicated) markup in the static tab file. The current behavior leads to an unclosed HTML tag, which can be confirmed by viewing the document source.
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
## mako
|
|
|
|
<%page expression_filter="h"/>
|
|
|
|
<%!
|
|
from django.utils.translation import gettext as _
|
|
from openedx.core.djangolib.markup import HTML
|
|
%>
|
|
|
|
<%inherit file="/main.html" />
|
|
<%block name="bodyclass">view-in-course view-statictab ${course.css_class or ''}</%block>
|
|
<%namespace name='static' file='/static_content.html'/>
|
|
|
|
<%block name="head_extra">
|
|
<%static:css group='style-course-vendor'/>
|
|
<%static:css group='style-course'/>
|
|
${HTML(fragment.head_html())}
|
|
</%block>
|
|
|
|
<%block name="footer_extra">
|
|
<%include file="/mathjax_include.html" args="disable_fast_preview=True"/>
|
|
${HTML(fragment.foot_html())}
|
|
</%block>
|
|
|
|
<%block name="pagetitle">${_(tab['name'])} | ${course.display_number_with_default}</%block>
|
|
|
|
<%include file="/courseware/course_navigation.html" args="active_page=active_page" />
|
|
<%static:css group='style-student-notes'/>
|
|
|
|
<main id="main" aria-label="Content" tabindex="-1">
|
|
<section class="container"
|
|
% if getattr(course, 'language'):
|
|
lang=${course.language}
|
|
% endif
|
|
>
|
|
<div class="static_tab_wrapper">
|
|
${HTML(fragment.body_html())}
|
|
</div>
|
|
</section>
|
|
</main>
|