Skip to content
Snippets Groups Projects
Commit 4fcbcaa0 authored by Sarina Canelake's avatar Sarina Canelake
Browse files

Clean up default Open edX pages

parent 61e02fab
No related merge requests found
......@@ -14,20 +14,20 @@
${_("About")}
</a>
</li>
%if marketing_link('JOBS') and marketing_link('JOBS') != '#':
%if marketing_link('JOBS') and marketing_link('JOBS') != '#':
<li class="nav-colophon-02">
<a id="jobs" href="${marketing_link('JOBS')}">
${_("Jobs")}
${_("Jobs")}
</a>
</li>
%endif
%if marketing_link('NEWS') and marketing_link('NEWS') != '#':
%endif
%if marketing_link('NEWS') and marketing_link('NEWS') != '#':
<li class="nav-colophon-03">
<a id="news" href="${marketing_link('NEWS')}">
${_("News")}
${_("News")}
</a>
</li>
%endif
%endif
<li class="nav-colophon-04">
<a id="faq" href="${marketing_link('FAQ')}">
${_("FAQ")}
......@@ -46,7 +46,7 @@
<a href="/">
## this is just a placeholder logo
## feel free to change this logo to your own
<img alt="organiztion logo placeholder" src="/static/images/logo-placeholder.png">
<img alt="organization logo placeholder" src="/static/images/logo-placeholder.png">
</a>
</p>
</div>
......
......@@ -27,39 +27,16 @@
% else:
% if self.stanford_theme_enabled():
<h1>${_("Free courses from <strong>{university_name}</strong>").format(university_name="Stanford")}</h1>
<h2>${_("For anyone, anywhere, anytime")}</h2>
<h2>${_("For anyone, anywhere, anytime")}</h2>
% else:
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
<h1>${_("Welcome to Open edX!")}</h1>
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
<h2>${_("It works! This is the default homepage for this Open edX instance.")}</h2>
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
<h2>${_("It works! This is the default homepage for this Open edX instance.")}</h2>
% endif
% endif
</hgroup>
## Disable social buttons for non-edX sites
% if not self.theme_enabled():
<section class="actions">
<div class="main-cta">
<a href="#signup-modal" id="signup_action" class="find-courses" rel="leanModal">${_("Sign Up")}</a>
</div>
<div class="secondary-actions">
<div class="social-sharing">
<div class="sharing-message">${_("Stay up to date with all {platform_name} has to offer!").format(platform_name=settings.PLATFORM_NAME)}</div>
<a href="${settings.PLATFORM_TWITTER_URL}" class="share">
<img src="${static.url('images/social/twitter-sharing.png')}">
</a>
<a href="${settings.PLATFORM_FACEBOOK_ACCOUNT}" class="share">
<img src="${static.url('images/social/facebook-sharing.png')}">
</a>
<a href="${settings.PLATFORM_GOOGLE_PLUS_URL}" class="share">
<img src="${static.url('images/social/google-plus-sharing.png')}">
</a>
</div>
</div>
</section>
% endif
</div>
% if show_homepage_promo_video:
......
......@@ -339,8 +339,8 @@
% endif
% if settings.REGISTRATION_EXTRA_FIELDS['honor_code'] != 'hidden':
## If the stanford theme isn't enabled, check if we have an Honor Code link in our marketing map
% if not self.stanford_theme_enabled() and marketing_link('HONOR') and marketing_link('HONOR') != '#':
## If the stanford theme isn't enabled, check if we have an Honor Code link in our marketing map
% if not self.stanford_theme_enabled() and marketing_link('HONOR') and marketing_link('HONOR') != '#':
<div class="field ${settings.REGISTRATION_EXTRA_FIELDS['honor_code']} checkbox" id="field-honorcode">
<input id="honorcode-yes" type="checkbox" name="honor_code" value="true" />
<%
......@@ -354,7 +354,7 @@
link_start='<a href="{url}" class="new-vp" tabindex="-1">'.format(url=honor_code_path),
link_end='</a>')}</label>
</div>
% endif
% endif
% endif
</li>
</ol>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment