SOL-302 Hide reindex button if 'ENABLE_COURSEWARE_INDEX' false
This commit is contained in:
@@ -504,6 +504,7 @@ def course_index(request, course_key):
|
||||
'rerun_notification_id': current_action.id if current_action else None,
|
||||
'course_release_date': course_release_date,
|
||||
'settings_url': settings_url,
|
||||
'reindex_button': settings.FEATURES.get('ENABLE_COURSEWARE_INDEX', False),
|
||||
'notification_dismiss_url': reverse_course_url(
|
||||
'course_notifications_handler',
|
||||
current_action.course_key,
|
||||
|
||||
Reference in New Issue
Block a user