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
e5ad04e3
Commit
e5ad04e3
authored
Dec 10, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10936 from edx/disable-legacy-dash
Disable Legacy Dash by default
parents
a164e2fa
14ad9d14
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
lms/djangoapps/instructor/views/instructor_dashboard.py
+3
-1
lms/envs/common.py
+1
-1
lms/envs/dev.py
+1
-1
No files found.
lms/djangoapps/instructor/views/instructor_dashboard.py
View file @
e5ad04e3
...
...
@@ -186,7 +186,6 @@ def instructor_dashboard_2(request, course_id):
context
=
{
'course'
:
course
,
'old_dashboard_url'
:
reverse
(
'instructor_dashboard_legacy'
,
kwargs
=
{
'course_id'
:
unicode
(
course_key
)}),
'studio_url'
:
get_studio_url
(
course
,
'course'
),
'sections'
:
sections
,
'disable_buttons'
:
disable_buttons
,
...
...
@@ -196,6 +195,9 @@ def instructor_dashboard_2(request, course_id):
'generate_bulk_certificate_exceptions_url'
:
generate_bulk_certificate_exceptions_url
,
'certificate_exception_view_url'
:
certificate_exception_view_url
}
if
settings
.
FEATURES
[
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
]:
context
[
'old_dashboard_url'
]
=
reverse
(
'instructor_dashboard_legacy'
,
kwargs
=
{
'course_id'
:
unicode
(
course_key
)})
return
render_to_response
(
'instructor/instructor_dashboard_2/instructor_dashboard_2.html'
,
context
)
...
...
lms/envs/common.py
View file @
e5ad04e3
...
...
@@ -207,7 +207,7 @@ FEATURES = {
'CUSTOM_COURSES_EDX'
:
False
,
# Enable legacy instructor dashboard
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
:
Tru
e
,
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
:
Fals
e
,
# Is this an edX-owned domain? (used for edX specific messaging and images)
'IS_EDX_DOMAIN'
:
False
,
...
...
lms/envs/dev.py
View file @
e5ad04e3
...
...
@@ -28,7 +28,7 @@ FEATURES['ENABLE_SERVICE_STATUS'] = True
FEATURES
[
'ENABLE_INSTRUCTOR_EMAIL'
]
=
True
# Enable email for all Studio courses
FEATURES
[
'REQUIRE_COURSE_EMAIL_AUTH'
]
=
False
# Give all courses email (don't require django-admin perms)
FEATURES
[
'ENABLE_HINTER_INSTRUCTOR_VIEW'
]
=
True
FEATURES
[
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
]
=
Tru
e
FEATURES
[
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
]
=
Fals
e
FEATURES
[
'MULTIPLE_ENROLLMENT_ROLES'
]
=
True
FEATURES
[
'ENABLE_SHOPPING_CART'
]
=
True
FEATURES
[
'AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING'
]
=
True
...
...
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