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
4d1694d0
Commit
4d1694d0
authored
May 12, 2017
by
Edward Zarecor
Committed by
GitHub
May 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15090 from edx/e0d/icp-footer
Basic support for an optional ICP number in the footer
parents
18268e6f
6aea3dc0
Show 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 @
4d1694d0
# -*- 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 @
4d1694d0
...
...
@@ -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