diff --git a/lms/envs/production.py b/lms/envs/production.py index 9e9efe918e..99742be2e3 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -1049,6 +1049,7 @@ COURSES_API_CACHE_TIMEOUT = ENV_TOKENS.get('COURSES_API_CACHE_TIMEOUT', COURSES_ # Add an ICP license for serving content in China if your organization is registered to do so ICP_LICENSE = ENV_TOKENS.get('ICP_LICENSE', None) +ICP_LICENSE_INFO = ENV_TOKENS.get('ICP_LICENSE_INFO', {}) ############## Settings for CourseGraph ############################ COURSEGRAPH_JOB_QUEUE = ENV_TOKENS.get('COURSEGRAPH_JOB_QUEUE', DEFAULT_PRIORITY_QUEUE) diff --git a/lms/templates/footer.html b/lms/templates/footer.html index bf76031d26..f682ff586b 100644 --- a/lms/templates/footer.html +++ b/lms/templates/footer.html @@ -7,6 +7,7 @@ from openedx.core.djangoapps.lang_pref.api import footer_language_selector_is_enabled %> <% footer = get_footer(is_secure=is_secure) %> +<% icp_license_info = getattr(settings, 'ICP_LICENSE_INFO', {})%> <%namespace name='static' file='static_content.html'/> % if uses_bootstrap: @@ -25,7 +26,14 @@ ## Site operators: Please do not remove this paragraph! This attributes back to edX and makes your acknowledgement of edX's trademarks clear. - +