## mako <%page expression_filter="h" args="online_help_token"/> <%namespace name='static' file='../static_content.html'/> <%! from django.urls import reverse from django.utils.translation import gettext as _ from lms.djangoapps.ccx.overrides import get_current_ccx from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers from openedx.features.enterprise_support.utils import get_enterprise_learner_generic_name, get_enterprise_learner_portal # App that handles subdomain specific branding from lms.djangoapps.branding import api as branding_api %> <% enterprise_customer_link = get_enterprise_learner_portal(request) %>

% if enterprise_customer_link: % if settings.LOGO_IMAGE_EXTRA_TEXT == 'edge': | EDGE % endif % else: <%block name="navigation_logo"> % if settings.LOGO_IMAGE_EXTRA_TEXT == 'edge': | EDGE % endif % endif % if course:
${course.display_org_with_default}: ${course.display_number_with_default} <% display_name = course.display_name_with_default if settings.FEATURES.get('CUSTOM_COURSES_EDX', False): ccx = get_current_ccx(course.id) if ccx: display_name = ccx.display_name %> ${display_name}
% endif

% if enable_enterprise_sidebar:
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %> % if tagline: ${tagline} % endif
% endif