From 12198375404370fc28e056a2aef7274d50fd33f4 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Wed, 26 Jan 2022 09:56:31 -0500 Subject: [PATCH] chore: Update logo url. Switch from files.edx.org to the logos.openedx.org url for the "Powered by Open edX" logos. We should still keep the old url working as many old versions of Open edX still referer to it. We're making this change so that for future versions of the edx-platform the DNS for these logos lives alongside the rest of the Open edX infrastructure managed by tCRIL. --- cms/templates/widgets/footer.html | 2 +- lms/djangoapps/branding/tests/test_api.py | 2 +- lms/envs/common.py | 8 ++++---- themes/red-theme/lms/templates/footer.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cms/templates/widgets/footer.html b/cms/templates/widgets/footer.html index d4a1da6478..36671427e3 100644 --- a/cms/templates/widgets/footer.html +++ b/cms/templates/widgets/footer.html @@ -56,7 +56,7 @@ from openedx.core.djangolib.markup import HTML, Text diff --git a/lms/djangoapps/branding/tests/test_api.py b/lms/djangoapps/branding/tests/test_api.py index 5b76720ea5..e859ded05c 100644 --- a/lms/djangoapps/branding/tests/test_api.py +++ b/lms/djangoapps/branding/tests/test_api.py @@ -158,7 +158,7 @@ class TestFooter(TestCase): 'logo_image': 'https://edx.org/static/images/logo.png', 'openedx_link': { 'url': 'https://open.edx.org', - 'image': 'https://files.edx.org/openedx-logos/open-edx-logo-tag.png', + 'image': 'https://logos.openedx.org/open-edx-logo-tag.png', 'title': 'Powered by Open edX' }, 'edx_org_link': { diff --git a/lms/envs/common.py b/lms/envs/common.py index 1ea0e2ac84..b1ced3983b 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2006,10 +2006,10 @@ FOOTER_OPENEDX_URL = "https://open.edx.org" # We use logo images served from files.edx.org so we can (roughly) track # how many OpenEdX installations are running. # Site operators can choose from these logo options: -# * https://files.edx.org/openedx-logos/open-edx-logo-tag.png -# * https://files.edx.org/openedx-logos/open-edx-logo-tag-light.png" -# * https://files.edx.org/openedx-logos/open-edx-logo-tag-dark.png -FOOTER_OPENEDX_LOGO_IMAGE = "https://files.edx.org/openedx-logos/open-edx-logo-tag.png" +# * https://logos.openedx.org/open-edx-logo-tag.png +# * https://logos.openedx.org/open-edx-logo-tag-light.png" +# * https://logos.openedx.org/open-edx-logo-tag-dark.png +FOOTER_OPENEDX_LOGO_IMAGE = "https://logos.openedx.org/open-edx-logo-tag.png" # This is just a placeholder image. # Site operators can customize this with their organization's image. diff --git a/themes/red-theme/lms/templates/footer.html b/themes/red-theme/lms/templates/footer.html index b126cc976a..41b33d5672 100755 --- a/themes/red-theme/lms/templates/footer.html +++ b/themes/red-theme/lms/templates/footer.html @@ -110,9 +110,9 @@ from openedx.core.djangolib.markup import HTML, Text ## standard powered-by logo ## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information. - ${_('Powered by Open edX')} + ${_('Powered by Open edX')} ## white logo for dark background - ## ${_('Powered by Open edX')} + ## ${_('Powered by Open edX')}