footer.html 3.8 KB
Newer Older
1
## mako
2
<%! from django.core.urlresolvers import reverse %>
3
<%! from django.utils.translation import ugettext as _ %>
4
<%namespace name='static' file='static_content.html'/>
5
<%! from microsite_configuration.templatetags.microsite import platform_name %>
6

7 8 9 10
<div class="wrapper wrapper-footer">
  <footer>
    <div class="colophon">
      <nav class="nav-colophon">
11 12
      <ol>
          <li class="nav-colophon-01">
13
          <a id="about" href="${marketing_link('ABOUT')}">
14
              ${_("About")}
15
          </a>
16
          </li>
17
          %if marketing_link('JOBS') and marketing_link('JOBS') != '#':
18 19
            <li class="nav-colophon-02">
              <a id="jobs" href="${marketing_link('JOBS')}">
20
                ${_("Jobs")}
21 22
              </a>
            </li>
23 24
          %endif
          %if marketing_link('NEWS') and marketing_link('NEWS') != '#':
25 26
            <li class="nav-colophon-03">
              <a id="news" href="${marketing_link('NEWS')}">
27
                ${_("News")}
28 29
              </a>
            </li>
30
          %endif
31
          <li class="nav-colophon-04">
32
          <a id="faq" href="${marketing_link('FAQ')}">
33
              ${_("FAQ")}
34
          </a>
35 36
          </li>
          <li class="nav-colophon-05">
37
          <a id="contact" href="${marketing_link('CONTACT')}">
38
              ${_("Contact")}
39
          </a>
40 41
          </li>
      </ol>
42
      </nav>
43

44 45 46 47 48
      <div class="wrapper-logo">
        <p>
          <a href="/">
            ## this is just a placeholder logo
            ## feel free to change this logo to your own
49
            <img alt="organization logo placeholder" src="/static/images/logo-placeholder.png">
50 51
          </a>
        </p>
52
      </div>
53

54 55
      ## 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(
56 57 58
        platform_name=settings.PLATFORM_NAME,
        copyright_year=settings.COPYRIGHT_YEAR
      )}
59
      </p>
60 61
        <nav class="nav-legal">
          <ul>
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
	    %if marketing_link('HONOR') and marketing_link('HONOR') != '#':
            <li class="nav-legal-01">
	      <%
		 tos_link = u"<a href='{}'>".format(marketing_link('TOS'))
		 honor_link = u"<a href='{}'>".format(marketing_link('HONOR'))
	      %>
	      ${
	        _("{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="</a>",
	          honor_link_start=honor_link,
	          honor_link_end="</a>",
                )
	      }
              </a>
            </li>
	    %else:
79
            <li class="nav-legal-01">
80
              <a href="${marketing_link('TOS')}">${_("Terms of Service")}</a>
81
            </li>
82
	    %endif
83 84 85 86 87 88
            <li class="nav-legal-02">
              <a href="${marketing_link('PRIVACY')}">${_("Privacy Policy")}</a>
            </li>
          </ul>
        </nav>
    </div>
89

90 91 92 93 94
    ## please leave this link and use one of the logos provided
    <div class="powered-by">
      <p>
        <a href="http://openedx.org/">
          ## standard powered-by logo
95
	  ## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
96
          <img src="https://files.edx.org/openedx-logos/edx-openedx-logo-tag.png" alt="${_('Powered by Open edX')}" width="150" height="50" />
97
          ## greyscale logo for dark background
98
          ## <img src="https://files.edx.org/openedx-logos/edx-openedx-logo-tag-light.png" alt="${_('Powered by Open edX')}" width="150" height="50" />
99
          ## greyscale logo for light background
100
          ## <img src="https://files.edx.org/openedx-logos/edx-openedx-logo-tag-dark.png" alt="${_('Powered by Open edX')}" width="150" height="50" />
101 102
        </a>
      </p>
103 104
    </div>
  </footer>
105
</div>