Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
4fcbcaa0
Commit
4fcbcaa0
authored
10 years ago
by
Sarina Canelake
Browse files
Options
Downloads
Patches
Plain Diff
Clean up default Open edX pages
parent
61e02fab
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lms/templates/footer.html
+7
-7
7 additions, 7 deletions
lms/templates/footer.html
lms/templates/index.html
+4
-27
4 additions, 27 deletions
lms/templates/index.html
lms/templates/register.html
+3
-3
3 additions, 3 deletions
lms/templates/register.html
with
14 additions
and
37 deletions
lms/templates/footer.html
+
7
−
7
View file @
4fcbcaa0
...
...
@@ -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=
"organiz
a
tion logo placeholder"
src=
"/static/images/logo-placeholder.png"
>
</a>
</p>
</div>
...
...
This diff is collapsed.
Click to expand it.
lms/templates/index.html
+
4
−
27
View file @
4fcbcaa0
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
lms/templates/register.html
+
3
−
3
View file @
4fcbcaa0
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment