Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
72fc25ae
Commit
72fc25ae
authored
Dec 07, 2015
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use `disable_footer` variable to disable footer on login page
Rather than Mako block hack
parent
337eabbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
+1
-7
lms/djangoapps/student_account/views.py
+1
-0
lms/templates/student_account/login_and_register.html
+0
-7
No files found.
lms/djangoapps/student_account/views.py
View file @
72fc25ae
...
...
@@ -116,6 +116,7 @@ def login_and_registration_form(request, initial_mode="login"):
'responsive'
:
True
,
'allow_iframing'
:
True
,
'disable_courseware_js'
:
True
,
'disable_footer'
:
True
,
}
return
render_to_response
(
'student_account/login_and_register.html'
,
context
)
...
...
lms/templates/student_account/login_and_register.html
View file @
72fc25ae
...
...
@@ -27,10 +27,3 @@
<div
class=
"section-bkg-wrapper"
>
<div
id=
"login-and-registration-container"
class=
"login-register"
/>
</div>
% if settings.FEATURES.get('ENABLE_COMBINED_LOGIN_REGISTRATION'):
## This overwrites the "footer" block declared in main.html
## with an empty block, effectively hiding the footer
## from logistration pages.
<
%
block
name=
"footer"
/>
% endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment