## mako <%page expression_filter="h" args="online_help_token, use_cookie_banner=False"/> <%namespace name='static' file='../static_content.html'/> <%namespace file='../main.html' import="login_query"/> <%! from django.urls import reverse from django.utils.translation import gettext as _ import waffle from lms.djangoapps.ccx.overrides import get_current_ccx from openedx.core.djangolib.markup import HTML, Text # App that handles subdomain specific branding from lms.djangoapps.branding import api as branding_api from openedx.core.djangoapps.lang_pref.api import header_language_selector_is_enabled, released_languages from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %> ## Provide a hook for themes to inject branding on top. <%block name="navigation_top" /> <% unsupported_browser_alert_versions = configuration_helpers.get_value('UNSUPPORTED_BROWSER_ALERT_VERSIONS', settings.FEATURES.get('UNSUPPORTED_BROWSER_ALERT_VERSIONS')) %> % if waffle.switch_is_active('enable_unsupported_browser_alert'): % endif % if course: % endif % if settings.FEATURES.get('ENABLE_COOKIE_CONSENT', False): <%include file="../widgets/cookie-consent.html" /> % endif % if header_language_selector_is_enabled(): <% languages = released_languages() %> % if len(languages) > 1:
% if user.is_authenticated: % else: % endif
% endif % endif