refactor: change logo_path to logo_url

This commit is contained in:
Andrii
2025-06-23 19:12:26 +03:00
parent 50fdf8446f
commit 04febf0761
2 changed files with 6 additions and 8 deletions

View File

@@ -2914,8 +2914,8 @@ SOCIAL_MEDIA_LOGO_URLS = {
'facebook': 'http://email-media.s3.amazonaws.com/edX/2021/social_1_fb.png',
}
# .. setting_name: DEFAULT_ORG_LOGO_PATH
# .. setting_default: 'images/logo.png'
# .. setting_description: The default logo path for organizations that do not have a logo set.
# .. setting_warning: This path is used as a placeholder for organizations that do not have a logo set.
DEFAULT_ORG_LOGO_PATH = 'images/logo.png'
# .. setting_name: DEFAULT_ORG_LOGO_URL
# .. setting_default: Derived(lambda settings: settings.STATIC_URL + 'images/logo.png')
# .. setting_description: The default logo url for organizations that do not have a logo set.
# .. setting_warning: This url is used as a placeholder for organizations that do not have a logo set.
DEFAULT_ORG_LOGO_URL = Derived(lambda settings: settings.STATIC_URL + 'images/logo.png')