Merge pull request #7316 from edx/video-pipeline/setting-display-fix

Do not show video_upload_pipeline setting if the feature is disabled
This commit is contained in:
Nimisha Asthagiri
2015-03-12 11:25:27 -04:00
2 changed files with 4 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ class CourseMetadata(object):
if not settings.FEATURES.get('ENABLE_EDXNOTES'):
filtered_list.append('edxnotes')
# Do not show video_upload_pipeline if the feature is disabled.
if not settings.FEATURES.get('ENABLE_VIDEO_UPLOAD_PIPELINE'):
filtered_list.append('video_upload_pipeline')
return filtered_list
@classmethod

View File

@@ -196,5 +196,4 @@ class AdvancedSettingsPage(CoursePage):
'static_asset_path',
'text_customization',
'annotation_storage_url',
'video_upload_pipeline'
]