Commit 4fcbcaa0 by Sarina Canelake

Clean up default Open edX pages

parent 61e02fab
...@@ -14,20 +14,20 @@ ...@@ -14,20 +14,20 @@
${_("About")} ${_("About")}
</a> </a>
</li> </li>
%if marketing_link('JOBS') and marketing_link('JOBS') != '#': %if marketing_link('JOBS') and marketing_link('JOBS') != '#':
<li class="nav-colophon-02"> <li class="nav-colophon-02">
<a id="jobs" href="${marketing_link('JOBS')}"> <a id="jobs" href="${marketing_link('JOBS')}">
${_("Jobs")} ${_("Jobs")}
</a> </a>
</li> </li>
%endif %endif
%if marketing_link('NEWS') and marketing_link('NEWS') != '#': %if marketing_link('NEWS') and marketing_link('NEWS') != '#':
<li class="nav-colophon-03"> <li class="nav-colophon-03">
<a id="news" href="${marketing_link('NEWS')}"> <a id="news" href="${marketing_link('NEWS')}">
${_("News")} ${_("News")}
</a> </a>
</li> </li>
%endif %endif
<li class="nav-colophon-04"> <li class="nav-colophon-04">
<a id="faq" href="${marketing_link('FAQ')}"> <a id="faq" href="${marketing_link('FAQ')}">
${_("FAQ")} ${_("FAQ")}
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<a href="/"> <a href="/">
## this is just a placeholder logo ## this is just a placeholder logo
## feel free to change this logo to your own ## 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> </a>
</p> </p>
</div> </div>
......
...@@ -27,39 +27,16 @@ ...@@ -27,39 +27,16 @@
% else: % else:
% if self.stanford_theme_enabled(): % if self.stanford_theme_enabled():
<h1>${_("Free courses from <strong>{university_name}</strong>").format(university_name="Stanford")}</h1> <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: % 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> <h1>${_("Welcome to Open edX!")}</h1>
## 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.
<h2>${_("It works! This is the default homepage for this Open edX instance.")}</h2> <h2>${_("It works! This is the default homepage for this Open edX instance.")}</h2>
% endif % endif
% endif % endif
</hgroup> </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> </div>
% if show_homepage_promo_video: % if show_homepage_promo_video:
......
...@@ -339,8 +339,8 @@ ...@@ -339,8 +339,8 @@
% endif % endif
% if settings.REGISTRATION_EXTRA_FIELDS['honor_code'] != 'hidden': % 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 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 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"> <div class="field ${settings.REGISTRATION_EXTRA_FIELDS['honor_code']} checkbox" id="field-honorcode">
<input id="honorcode-yes" type="checkbox" name="honor_code" value="true" /> <input id="honorcode-yes" type="checkbox" name="honor_code" value="true" />
<% <%
...@@ -354,7 +354,7 @@ ...@@ -354,7 +354,7 @@
link_start='<a href="{url}" class="new-vp" tabindex="-1">'.format(url=honor_code_path), link_start='<a href="{url}" class="new-vp" tabindex="-1">'.format(url=honor_code_path),
link_end='</a>')}</label> link_end='</a>')}</label>
</div> </div>
% endif % endif
% endif % endif
</li> </li>
</ol> </ol>
......
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