The old URLs now serve the new logo, but at the old pixel size. These URLs serve the new logo at a natural pixel size.
121 lines
4.5 KiB
HTML
Executable File
121 lines
4.5 KiB
HTML
Executable File
## mako
|
|
<%page expression_filter="h"/>
|
|
<%namespace name='static' file='static_content.html'/>
|
|
<%!
|
|
from django.urls import reverse
|
|
from django.utils.translation import ugettext as _
|
|
from django.conf import settings
|
|
|
|
from datetime import datetime
|
|
import pytz
|
|
|
|
from openedx.core.djangoapps.lang_pref.api import footer_language_selector_is_enabled
|
|
from openedx.core.djangolib.markup import HTML, Text
|
|
%>
|
|
|
|
<div class="wrapper wrapper-footer">
|
|
<footer>
|
|
<!-- This is super-ugly, don't use it! -->
|
|
<div class="colophon">
|
|
<nav class="nav-colophon" aria-label="${_('About')}">
|
|
<ol>
|
|
<li class="nav-colophon-01">
|
|
<a id="about" href="${marketing_link('ABOUT')}">
|
|
${_("About")}
|
|
</a>
|
|
</li>
|
|
%if marketing_link('JOBS') and marketing_link('JOBS') != '#':
|
|
<li class="nav-colophon-02">
|
|
<a id="jobs" href="${marketing_link('JOBS')}">
|
|
${_("Jobs")}
|
|
</a>
|
|
</li>
|
|
%endif
|
|
%if marketing_link('NEWS') and marketing_link('NEWS') != '#':
|
|
<li class="nav-colophon-03">
|
|
<a id="news" href="${marketing_link('NEWS')}">
|
|
${_("News")}
|
|
</a>
|
|
</li>
|
|
%endif
|
|
<li class="nav-colophon-04">
|
|
<a id="faq" href="${marketing_link('FAQ')}">
|
|
${_("FAQ")}
|
|
</a>
|
|
</li>
|
|
<li class="nav-colophon-05">
|
|
<a id="contact" href="${marketing_link('CONTACT')}">
|
|
${_("Contact")}
|
|
</a>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
% if context.get('include_language_selector', footer_language_selector_is_enabled()):
|
|
<%include file="${static.get_template_path('widgets/footer-language-selector.html')}"/>
|
|
% endif
|
|
|
|
<div class="wrapper-logo">
|
|
<p>
|
|
<a href="/">
|
|
## this is just a placeholder logo
|
|
## feel free to change this logo to your own by replacing "logo.png" with your own logo
|
|
<img alt="organization logo placeholder" src="${static.url("images/logo.png")}">
|
|
</a>
|
|
</p>
|
|
</div>
|
|
|
|
<p class="copyright">© ${datetime.now(pytz.timezone(settings.TIME_ZONE)).year} ${static.get_platform_name()}.</p>
|
|
|
|
## 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">
|
|
## 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>
|
|
<nav class="nav-legal" aria-label="${_('Legal')}">
|
|
<ul>
|
|
% if marketing_link('HONOR') and marketing_link('HONOR') != '#':
|
|
<li class="nav-legal-01">
|
|
<%
|
|
tos_link = HTML(u"<a href='{}'>").format(marketing_link('TOS'))
|
|
honor_link = HTML(u"<a href='{}'>").format(marketing_link('HONOR'))
|
|
%>
|
|
${
|
|
Text(_("{tos_link_start}Terms of Service{tos_link_end} and {honor_link_start}Honor Code{honor_link_end}")).format(
|
|
tos_link_start=tos_link,
|
|
tos_link_end=HTML("</a>"),
|
|
honor_link_start=honor_link,
|
|
honor_link_end=HTML("</a>"),
|
|
)
|
|
}
|
|
</li>
|
|
% else:
|
|
<li class="nav-legal-01">
|
|
<a href="${marketing_link('TOS')}">${_("Terms of Service")}</a>
|
|
</li>
|
|
% endif
|
|
<li class="nav-legal-02">
|
|
<a href="${marketing_link('PRIVACY')}">${_("Privacy Policy")}</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
## please leave this link and use one of the logos provided
|
|
<div class="footer-about-openedx">
|
|
<p>
|
|
<a href="http://openedx.org/">
|
|
## standard powered-by logo
|
|
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
|
|
<img src="https://files.edx.org/openedx-logos/open-edx-logo-tag.png" alt="${_('Powered by Open edX')}" width="175" />
|
|
## white logo for dark background
|
|
## <img src="https://files.edx.org/openedx-logos/open-edx-logo-tag-dark.png" alt="${_('Powered by Open edX')}" width="175" />
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</footer>
|
|
</div>
|