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
0f66b755
Commit
0f66b755
authored
Jan 06, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6458 from edx/sarina/variablize-copyright-date
Variablize copyright year for LMS footer
parents
66b17784
05afa2da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
lms/envs/common.py
+2
-0
lms/templates/footer-edx-new.html
+2
-1
lms/templates/footer.html
+6
-1
No files found.
lms/envs/common.py
View file @
0f66b755
...
...
@@ -41,6 +41,8 @@ from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin
# The display name of the platform to be used in templates/emails/etc.
PLATFORM_NAME
=
"Your Platform Name Here"
CC_MERCHANT_NAME
=
PLATFORM_NAME
# Shows up in the platform footer, eg "(c) COPYRIGHT_YEAR"
COPYRIGHT_YEAR
=
"2015"
PLATFORM_FACEBOOK_ACCOUNT
=
"http://www.facebook.com/YourPlatformFacebookAccount"
PLATFORM_TWITTER_ACCOUNT
=
"@YourPlatformTwitterAccount"
...
...
lms/templates/footer-edx-new.html
View file @
0f66b755
...
...
@@ -31,7 +31,8 @@
</div>
<div
class=
"footer-about-copyright"
>
<p>
${_("
©
2014 edX, some rights reserved.")}
</p>
## Translators: '
©
' is an HTML character code for the copyright symbol. Please don't remove or change it.
<p>
${_("
©
{copyright_year} edX, some rights reserved.").format(copyright_year=settings.COPYRIGHT_YEAR)}
</p>
</div>
<div
class=
"footer-about-links"
>
...
...
lms/templates/footer.html
View file @
0f66b755
...
...
@@ -47,7 +47,12 @@
</p>
</div>
<p
class=
"copyright"
>
${_("
©
2014 {platform_name}, some rights reserved").format(platform_name=settings.PLATFORM_NAME)}
</p>
## Translators: '
©
' is an HTML character code for the copyright symbol. Please don't remove or change it.
<p
class=
"copyright"
>
${_("
©
{copyright_year} {platform_name}, some rights reserved").format(
platform_name=settings.PLATFORM_NAME,
copyright_year=settings.COPYRIGHT_YEAR
)}
</p>
<nav
class=
"nav-legal"
>
<ul>
<li
class=
"nav-legal-01"
>
...
...
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