Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EP-94343: Disable footer for LMS and CMS. #2

Open
wants to merge 2 commits into
base: EP-94324-UI-customisation
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cms/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@
<%block name="content"></%block>
</div>
</main>

<!--
% if user.is_authenticated:
<%include file="widgets/sock.html" args="online_help_token=online_help_token" />
% endif
<%include file="widgets/footer.html" />

-->
<div id="page-notification"></div>
</div>

Expand Down Expand Up @@ -163,17 +163,21 @@
});
</script>
% endif
<!--
% if user.is_authenticated:
<%static:webpack entry='js/sock'/>
% endif
-->
<%block name='page_bundle'>
<script type="text/javascript">
require(['js/factories/base'], function () {
<%block name='requirejs'></%block>
});
</script>
</%block>
<!--
<%include file="widgets/segment-io-footer.html" />
-->
<div class="modal-cover"></div>
</body>
</html>
4 changes: 2 additions & 2 deletions lms/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@
${next.body()}
<%block name="bodyextra"/>
</div>

<!--
% if not disable_footer:
<%include file="${static.get_template_path('footer.html')}" />
% endif

-->
% if not disable_window_wrap:
</div>
% endif
Expand Down
3 changes: 2 additions & 1 deletion lms/templates/main_django.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@
{% block body %}{% endblock %}
{% block bodyextra %}{% endblock %}
</div>
<!--
{% with course=request.course %}
{% include "footer.html"|microsite_template_path %}
{% endwith %}

-->
</div>

{% javascript 'base_application' %}
Expand Down
Loading