Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
4fcbcaa0
Commit
4fcbcaa0
authored
Jan 06, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up default Open edX pages
parent
61e02fab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
37 deletions
+14
-37
lms/templates/footer.html
+7
-7
lms/templates/index.html
+4
-27
lms/templates/register.html
+3
-3
No files found.
lms/templates/footer.html
View file @
4fcbcaa0
...
@@ -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=
"organiz
a
tion logo placeholder"
src=
"/static/images/logo-placeholder.png"
>
</a>
</a>
</p>
</p>
</div>
</div>
...
...
lms/templates/index.html
View file @
4fcbcaa0
...
@@ -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:
...
...
lms/templates/register.html
View file @
4fcbcaa0
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment