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
d6741c77
Commit
d6741c77
authored
Dec 13, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up default pages for Open edX instances
Remove Jobs, News Change "Vision" to "About"
parent
aa8b895a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
68 additions
and
29 deletions
+68
-29
lms/djangoapps/courseware/features/homepage.feature
+1
-1
lms/envs/common.py
+4
-6
lms/envs/test.py
+22
-0
lms/static/sass/shared/_footer.scss
+3
-6
lms/templates/footer.html
+36
-14
lms/templates/static_templates/about.html
+2
-2
No files found.
lms/djangoapps/courseware/features/homepage.feature
View file @
d6741c77
...
...
@@ -20,4 +20,4 @@ Feature: LMS.Homepage for web users
|
jobs
|
Jobs
|
|
faq
|
FAQ
|
|
contact
|
Contact
|
|
press
|
News
|
|
news
|
News
|
lms/envs/common.py
View file @
d6741c77
...
...
@@ -1576,18 +1576,16 @@ INSTALLED_APPS = (
EDXMKTG_COOKIE_NAME
=
'edxloggedin'
MKTG_URLS
=
{}
MKTG_URL_LINK_MAP
=
{
'ABOUT'
:
'about
_edx
'
,
'ABOUT'
:
'about'
,
'CONTACT'
:
'contact'
,
'FAQ'
:
'help
_edx
'
,
'FAQ'
:
'help'
,
'COURSES'
:
'courses'
,
'ROOT'
:
'root'
,
'TOS'
:
'tos'
,
'HONOR'
:
'honor'
,
'PRIVACY'
:
'privacy_edx'
,
'JOBS'
:
'jobs'
,
'NEWS'
:
'news'
,
'PRIVACY'
:
'privacy'
,
'PRESS'
:
'press'
,
'BLOG'
:
'
edx-
blog'
,
'BLOG'
:
'blog'
,
'DONATE'
:
'donate'
,
# Verified Certificates
...
...
lms/envs/test.py
View file @
d6741c77
...
...
@@ -281,6 +281,28 @@ CELERY_ALWAYS_EAGER = True
CELERY_RESULT_BACKEND
=
'cache'
BROKER_TRANSPORT
=
'memory'
######################### MARKETING SITE ###############################
MKTG_URL_LINK_MAP
=
{
'ABOUT'
:
'about'
,
'CONTACT'
:
'contact'
,
'FAQ'
:
'help'
,
'COURSES'
:
'courses'
,
'ROOT'
:
'root'
,
'TOS'
:
'tos'
,
'HONOR'
:
'honor'
,
'PRIVACY'
:
'privacy'
,
'JOBS'
:
'jobs'
,
'NEWS'
:
'news'
,
'PRESS'
:
'press'
,
'BLOG'
:
'blog'
,
'DONATE'
:
'donate'
,
# Verified Certificates
'WHAT_IS_VERIFIED_CERT'
:
'verified-certificate'
,
}
############################ STATIC FILES #############################
DEFAULT_FILE_STORAGE
=
'django.core.files.storage.FileSystemStorage'
MEDIA_ROOT
=
TEST_ROOT
/
"uploads"
...
...
lms/static/sass/shared/_footer.scss
View file @
d6741c77
...
...
@@ -118,15 +118,12 @@
display
:
inline-block
;
font-size
:
em
(
11
);
a
{
display
:
block
;
}
}
.nav-legal-0
1
a
{
.nav-legal-0
2
a
{
&
:
after
{
margin-
lef
t
:
(
$baseline
/
4
);
&
:
before
{
margin-
righ
t
:
(
$baseline
/
4
);
content
:
"-"
;
}
}
...
...
lms/templates/footer.html
View file @
d6741c77
...
...
@@ -14,16 +14,20 @@
${_("About")}
</a>
</li>
<li
class=
"nav-colophon-02"
>
<a
id=
"jobs"
href=
"${marketing_link('JOBS')}"
>
${_("Jobs")}
</a>
</li>
<li
class=
"nav-colophon-03"
>
<a
id=
"press"
href=
"${marketing_link('NEWS')}"
>
${_("News")}
</a>
</li>
%if marketing_link('JOBS') and marketing_link('JOBS') != '#':
<li
class=
"nav-colophon-02"
>
<a
id=
"jobs"
href=
"${marketing_link('JOBS')}"
>
${_("Jobs")}
</a>
</li>
%endif
%if marketing_link('NEWS') and marketing_link('NEWS') != '#':
<li
class=
"nav-colophon-03"
>
<a
id=
"news"
href=
"${marketing_link('NEWS')}"
>
${_("News")}
</a>
</li>
%endif
<li
class=
"nav-colophon-04"
>
<a
id=
"faq"
href=
"${marketing_link('FAQ')}"
>
${_("FAQ")}
...
...
@@ -49,15 +53,33 @@
## Translators: '
©
' is an HTML character code for the copyright symbol. Please don't remove or change it.
<p
class=
"copyright"
>
${_("
©
{copyright_year} {platform_name}, some rights reserved").format(
platform_name=settings.PLATFORM_NAME,
copyright_year=settings.COPYRIGHT_YEAR
)}
platform_name=settings.PLATFORM_NAME,
copyright_year=settings.COPYRIGHT_YEAR
)}
</p>
<nav
class=
"nav-legal"
>
<ul>
%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:
<li
class=
"nav-legal-01"
>
<a
href=
"${marketing_link('TOS')}"
>
${_("Terms of Service
and Honor Code
")}
</a>
<a
href=
"${marketing_link('TOS')}"
>
${_("Terms of Service")}
</a>
</li>
%endif
<li
class=
"nav-legal-02"
>
<a
href=
"${marketing_link('PRIVACY')}"
>
${_("Privacy Policy")}
</a>
</li>
...
...
lms/templates/static_templates/about.html
View file @
d6741c77
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
inherit
file=
"../main.html"
/>
<
%
block
name=
"pagetitle"
>
${_("
Vision
")}
</
%
block>
<
%
block
name=
"pagetitle"
>
${_("
About
")}
</
%
block>
<section
class=
"container about"
>
<h1>
${_("
Vision
")}
</h1>
<h1>
${_("
About
")}
</h1>
<p>
${_("This page left intentionally blank. It is not used by edx.org but is left here for possible use by installations of Open edX.")}
</p>
</section>
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