Switch from files.edx.org to the logos.openedx.org url for the "Powered by Open edX" logos. We should still keep the old url working as many old versions of Open edX still referer to it. We're making this change so that for future versions of the edx-platform the DNS for these logos lives alongside the rest of the Open edX infrastructure managed by tCRIL.
66 lines
2.6 KiB
HTML
66 lines
2.6 KiB
HTML
## mako
|
|
<%page expression_filter="h"/>
|
|
<%!
|
|
from django.utils.translation import gettext as _
|
|
from django.urls import reverse
|
|
from datetime import datetime
|
|
from django.conf import settings
|
|
import pytz
|
|
from cms.djangoapps.contentstore.config.waffle import waffle, ENABLE_ACCESSIBILITY_POLICY_PAGE
|
|
from openedx.core.djangolib.markup import HTML, Text
|
|
%>
|
|
|
|
<div class="wrapper-footer wrapper">
|
|
<footer class="primary" role="contentinfo">
|
|
|
|
<div class="footer-content-primary">
|
|
<div class="colophon">
|
|
<p>© ${datetime.now(pytz.timezone(settings.TIME_ZONE)).year} <a href="${marketing_link('ROOT')}" rel="external">${settings.PLATFORM_NAME}</a>.</p>
|
|
</div>
|
|
|
|
<nav class="nav-peripheral" aria-label="${_("Policies")}">
|
|
<ol>
|
|
% if is_marketing_link_set('TOS'):
|
|
<li class="nav-item nav-peripheral-tos">
|
|
<a href="${marketing_link('TOS')}">${_("Terms of Service")}</a>
|
|
</li>
|
|
% endif
|
|
% if is_marketing_link_set('PRIVACY'):
|
|
<li class="nav-item nav-peripheral-pp">
|
|
<a href="${marketing_link('PRIVACY')}">${_("Privacy Policy")}</a>
|
|
</li>
|
|
% endif
|
|
% if waffle().is_enabled(ENABLE_ACCESSIBILITY_POLICY_PAGE):
|
|
<li class="nav-item nav-peripheral-aar">
|
|
<a href="${reverse('accessibility')}">${_("Accessibility Accommodation Request")}</a>
|
|
</li>
|
|
%endif
|
|
<li class="nav-item">
|
|
<a id="lms-link" href="${settings.LMS_ROOT_URL}">${_("LMS")}</a>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
|
|
<div class="footer-content-secondary" aria-label="${_("Legal")}">
|
|
<div class="footer-about-copyright">
|
|
## Site operators: Please do not remove this paragraph! This attributes back to edX and makes your acknowledgement of edX's trademarks clear.
|
|
<p>
|
|
## Translators: 'edX' and 'Open edX' are trademarks of 'edX Inc.'. Please do not translate any of these trademarks and company names.
|
|
${Text(_("edX, Open edX, and the edX and Open edX logos are registered trademarks of {link_start}edX Inc.{link_end}")).format(
|
|
link_start=HTML(u"<a href='https://www.edx.org/'>"),
|
|
link_end=HTML(u"</a>")
|
|
)}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="footer-about-openedx">
|
|
<a href="https://open.edx.org" title="${_("Powered by Open edX")}">
|
|
<img alt="${_("Powered by Open edX")}" src="https://logos.openedx.org/open-edx-logo-tag.png">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|