Commit 0f66b755 by Sarina Canelake

Merge pull request #6458 from edx/sarina/variablize-copyright-date

Variablize copyright year for LMS footer
parents 66b17784 05afa2da
...@@ -41,6 +41,8 @@ from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin ...@@ -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. # The display name of the platform to be used in templates/emails/etc.
PLATFORM_NAME = "Your Platform Name Here" PLATFORM_NAME = "Your Platform Name Here"
CC_MERCHANT_NAME = PLATFORM_NAME 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_FACEBOOK_ACCOUNT = "http://www.facebook.com/YourPlatformFacebookAccount"
PLATFORM_TWITTER_ACCOUNT = "@YourPlatformTwitterAccount" PLATFORM_TWITTER_ACCOUNT = "@YourPlatformTwitterAccount"
......
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
</div> </div>
<div class="footer-about-copyright"> <div class="footer-about-copyright">
<p>${_("&copy; 2014 edX, some rights reserved.")}</p> ## Translators: '&copy;' is an HTML character code for the copyright symbol. Please don't remove or change it.
<p>${_("&copy; {copyright_year} edX, some rights reserved.").format(copyright_year=settings.COPYRIGHT_YEAR)}</p>
</div> </div>
<div class="footer-about-links"> <div class="footer-about-links">
......
...@@ -47,7 +47,12 @@ ...@@ -47,7 +47,12 @@
</p> </p>
</div> </div>
<p class="copyright">${_("&copy; 2014 {platform_name}, some rights reserved").format(platform_name=settings.PLATFORM_NAME)}</p> ## Translators: '&copy;' is an HTML character code for the copyright symbol. Please don't remove or change it.
<p class="copyright">${_("&copy; {copyright_year} {platform_name}, some rights reserved").format(
platform_name=settings.PLATFORM_NAME,
copyright_year=settings.COPYRIGHT_YEAR
)}
</p>
<nav class="nav-legal"> <nav class="nav-legal">
<ul> <ul>
<li class="nav-legal-01"> <li class="nav-legal-01">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment