diff --git a/lms/envs/common.py b/lms/envs/common.py index 3fa1918769..b09af34b38 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -103,6 +103,9 @@ MITX_FEATURES = { # with Shib. Feature was requested by Stanford's office of general counsel 'SHIB_DISABLE_TOS': False, + # Can be turned off if all courses are invite-only. Effects views and templates. + 'ENABLE_STUDENT_SELF_ENROLLMENT': True, + # Enables ability to restrict enrollment in specific courses by the user account login method 'RESTRICT_ENROLL_BY_REG_METHOD': False, diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 0a5892e3ea..3e851ecbc6 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -332,10 +332,14 @@ % else: % endif diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index 1dd5aa5229..d44cd0e1b2 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -57,9 +57,11 @@ site_status_msg = get_site_status_msg(course_id)