diff --git a/lms/envs/common.py b/lms/envs/common.py index cac27c859e..89c98d781f 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -4174,6 +4174,7 @@ MAX_BLOCKS_PER_CONTENT_LIBRARY = 1000 COUNTRIES_FIRST = [] ################# Settings for brand logos. ################# +LOGO_IMAGE_EXTRA_TEXT = '' LOGO_URL = None LOGO_URL_PNG = None LOGO_TRADEMARK_URL = None diff --git a/lms/envs/production.py b/lms/envs/production.py index a5f87a95f4..8a55e2a29d 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -1041,3 +1041,5 @@ EXPLICIT_QUEUES = { 'openedx.core.djangoapps.coursegraph.dump_course_to_neo4j': { 'queue': COURSEGRAPH_JOB_QUEUE}, } + +LOGO_IMAGE_EXTRA_TEXT = ENV_TOKENS.get('LOGO_IMAGE_EXTRA_TEXT', '') diff --git a/lms/templates/header/navbar-logo-header.html b/lms/templates/header/navbar-logo-header.html index 90bb9a3b18..5a74ebcef8 100644 --- a/lms/templates/header/navbar-logo-header.html +++ b/lms/templates/header/navbar-logo-header.html @@ -22,12 +22,18 @@ 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: