Merge pull request #12880 from caseylitton/up_logistration_toggle_footer_setting
Add flag allow toggle logistration footer
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -274,3 +274,4 @@ Sofiya Semenova <ssemenova@edx.org>
|
||||
Alisan Tang <atang@edx.org>
|
||||
Kevin Kim <kkim@edx.org>
|
||||
Albert St. Aubin Jr. <astaubin@edx.org>
|
||||
Casey Litton <caseylitton@gmail.com>
|
||||
|
||||
@@ -122,7 +122,10 @@ def login_and_registration_form(request, initial_mode="login"):
|
||||
'responsive': True,
|
||||
'allow_iframing': True,
|
||||
'disable_courseware_js': True,
|
||||
'disable_footer': True,
|
||||
'disable_footer': not get_themed_value(
|
||||
'ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER',
|
||||
settings.FEATURES['ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER']
|
||||
),
|
||||
}
|
||||
|
||||
return render_to_response('student_account/login_and_register.html', context)
|
||||
|
||||
@@ -262,6 +262,7 @@ FEATURES = {
|
||||
|
||||
# Enable the combined login/registration form
|
||||
'ENABLE_COMBINED_LOGIN_REGISTRATION': False,
|
||||
'ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER': False,
|
||||
|
||||
# Enable organizational email opt-in
|
||||
'ENABLE_MKTG_EMAIL_OPT_IN': False,
|
||||
|
||||
Reference in New Issue
Block a user