diff --git a/lms/templates/header/navbar-authenticated.html b/lms/templates/header/navbar-authenticated.html index eaf9dd9ba3..4e32f807a7 100644 --- a/lms/templates/header/navbar-authenticated.html +++ b/lms/templates/header/navbar-authenticated.html @@ -11,7 +11,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_ %> <% - show_explore_courses = settings.FEATURES.get('COURSES_ARE_BROWSABLE') and not show_program_listing + show_explore_courses = settings.FEATURES.get('COURSES_ARE_BROWSABLE') show_sysadmin_dashboard = settings.FEATURES.get('ENABLE_SYSADMIN_DASHBOARD','') and user.is_staff self.real_user = getattr(user, 'real_user', user) diff --git a/themes/edx.org/lms/templates/header/navbar-authenticated.html b/themes/edx.org/lms/templates/header/navbar-authenticated.html index 0e941a8a83..ae218ec67c 100644 --- a/themes/edx.org/lms/templates/header/navbar-authenticated.html +++ b/themes/edx.org/lms/templates/header/navbar-authenticated.html @@ -11,8 +11,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_ %> <% - courses_are_browsable = settings.FEATURES.get('COURSES_ARE_BROWSABLE') - show_explore_courses = settings.FEATURES.get('COURSES_ARE_BROWSABLE') and not show_program_listing + show_explore_courses = settings.FEATURES.get('COURSES_ARE_BROWSABLE') show_sysadmin_dashboard = settings.FEATURES.get('ENABLE_SYSADMIN_DASHBOARD','') and user.is_staff self.real_user = getattr(user, 'real_user', user) %> @@ -54,6 +53,14 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_ % endif + % if show_explore_courses: +
+ % endif % endif % endif