fix page_bundle
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user