- % if show_dashboard_tabs:
-
- % if show_program_listing:
-
- % endif
- % endif
- % if show_explore_courses:
-
-
- ${_('Discover')}
-
+
+ % for link in nav_links:
+ <%
+ is_active = (link['url'] == request.path or
+ request.path.startswith(link['url'].rstrip('/') + '/'))
+ icon_name = link.get('icon', 'Home')
+ icon_svg = HTML(SVG_OPEN + ICON_PATHS.get(icon_name, ICON_PATHS['Home']) + SVG_CLOSE)
+ %>
+
+ % endfor
+
+ ## Search — last mainMenu item, matches MFE lw-search-item
+
-
- <%include file="./theme-toggle-button.html" />
- <%include file="user_dropdown.html"/>
+
+
+
+ ## Bell — matches MFE secondaryMenu (lw-notification-btn)
+
+ <%include file="user_dropdown.html" />
+
diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html
index 10dca56fc..a7143823e 100644
--- a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html
+++ b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html
@@ -12,47 +12,42 @@
%>
<%
- mktg_site_enabled = static.get_value('ENABLE_MKTG_SITE', settings.FEATURES.get('ENABLE_MKTG_SITE', False))
- courses_are_browsable = settings.FEATURES.get('COURSES_ARE_BROWSABLE')
allows_login = not settings.FEATURES['DISABLE_LOGIN_BUTTON'] and not combined_login_and_register
- can_discover_courses = settings.FEATURES.get('ENABLE_COURSE_DISCOVERY')
- allow_public_account_creation = static.get_value('ALLOW_PUBLIC_ACCOUNT_CREATION', settings.FEATURES.get('ALLOW_PUBLIC_ACCOUNT_CREATION')) and settings.FEATURES.get('SHOW_REGISTRATION_LINKS', True)
+ allow_public_account_creation = (
+ static.get_value('ALLOW_PUBLIC_ACCOUNT_CREATION', settings.FEATURES.get('ALLOW_PUBLIC_ACCOUNT_CREATION'))
+ and settings.FEATURES.get('SHOW_REGISTRATION_LINKS', True)
+ )
+
+ ## Same source of truth as authenticated header and MFEs
+ nav_links = getattr(settings, 'HEADER_NAV_LINKS', [
+ {"title": "Discover", "url": "/courses"},
+ ])
%>
-
+