fix page_bundle

This commit is contained in:
Ari Rizzitano
2018-03-01 17:26:13 -05:00
parent 52e7af4148
commit 6998b311fe
2 changed files with 2 additions and 8 deletions

View File

@@ -155,7 +155,6 @@ from openedx.core.djangolib.markup import HTML
});
</script>
</%block>
<%block name="page_bundle_extra"></%block>
<%include file="widgets/segment-io-footer.html" />
<div class="modal-cover"></div>
</body>

View File

@@ -27,7 +27,7 @@ CMS.URL.LMS_BASE = "${settings.LMS_BASE}"
</script>
</%block>
<%block name="page_bundle_extra">
<%block name="page_bundle">
<%static:invoke_page_bundle page_name="js/pages/textbooks" class_name="TextbooksFactory">
${textbooks | n, dump_js_escaped_json}
</%static:invoke_page_bundle>
@@ -54,12 +54,7 @@ CMS.URL.LMS_BASE = "${settings.LMS_BASE}"
<div class="wrapper-content wrapper">
<section class="content">
<article class="content-primary" role="main">
${static.renderReact(
component="NoTextbooks",
id="no-textbooks-container"
)}
</article>
<article class="content-primary" role="main"></article>
<aside class="content-supplementary" role="complementary">
<div class="bit">
<h3 class="title-3">${_("Why should I break my textbook into chapters?")}</h3>