Files
edx-platform/lms/templates/courseware/static_tab.html
Bertrand Marron 6379ee921a Add '' default to bodyclass in courseware templates
This prevents from having a 'None' CSS class in the <body> tag when no
css_class is defined for the course.
2014-02-01 16:18:51 +01:00

19 lines
577 B
HTML

<%inherit file="/main.html" />
<%block name="bodyclass">${course.css_class or ''}</%block>
<%namespace name='static' file='/static_content.html'/>
<%block name="headextra">
<%static:css group='style-course-vendor'/>
<%static:css group='style-course'/>
</%block>
<%block name="pagetitle">${tab['name']} | ${course.display_number_with_default | h}</%block>
<%include file="/courseware/course_navigation.html" args="active_page='static_tab_{0}'.format(tab['url_slug'])" />
<section class="container">
<div class="static_tab_wrapper">
${tab_contents}
</div>
</section>