Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
6aea3dc0
Commit
6aea3dc0
authored
May 10, 2017
by
Edward Zarecor
Committed by
Edward Zarecor
May 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Basic support for an optional ICP number in the footer
parent
544d5d59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lms/envs/aws.py
+5
-0
lms/templates/footer.html
+1
-2
No files found.
lms/envs/aws.py
View file @
6aea3dc0
# -*- coding: utf-8 -*-
"""
This is the default template for our main set of AWS servers. This does NOT
cover the content machines, which use content.py
...
...
@@ -956,3 +958,6 @@ ENTERPRISE_API_CACHE_TIMEOUT = ENV_TOKENS.get(
# the service, and override the default parameters which are defined in common.py
COURSES_API_CACHE_TIMEOUT
=
ENV_TOKENS
.
get
(
'COURSES_API_CACHE_TIMEOUT'
,
COURSES_API_CACHE_TIMEOUT
)
# 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
)
lms/templates/footer.html
View file @
6aea3dc0
...
...
@@ -44,7 +44,7 @@
</div>
## Site operators: Please do not remove this paragraph! This attributes back to edX and makes your acknowledgement of edX's trademarks clear.
<p
class=
"copyright"
>
${footer['copyright']}
</p>
<p
class=
"copyright"
>
${footer['copyright']}
${u" | {icp}".format(icp=getattr(settings,'ICP_LICENSE')) if getattr(settings,'ICP_LICENSE',False) else ""}
</p>
<nav
class=
"nav-legal"
aria-label=
"${_('Legal')}"
>
<ul>
...
...
@@ -83,7 +83,6 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${url}"
></link>
% endfor
% endif
% if settings.FEATURES.get('ENABLE_COOKIE_CONSENT', False):
<
%
include
file=
"widgets/cookie-consent.html"
/>
% endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment