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
7143749d
Commit
7143749d
authored
May 07, 2013
by
Greg Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix links to honor code, ToS, and privacy policy for marketing site
parent
621f4c65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
lms/envs/common.py
+6
-0
lms/templates/footer.html
+2
-2
lms/templates/register.html
+2
-2
No files found.
lms/envs/common.py
View file @
7143749d
...
@@ -596,6 +596,9 @@ MKTG_URLS = {
...
@@ -596,6 +596,9 @@ MKTG_URLS = {
'CONTACT'
:
'/contact'
,
'CONTACT'
:
'/contact'
,
'HOW_IT_WORKS'
:
'/how-it-works'
,
'HOW_IT_WORKS'
:
'/how-it-works'
,
'SCHOOLS'
:
'/schools'
,
'SCHOOLS'
:
'/schools'
,
'TOS'
:
'/terms'
,
'HONOR'
:
'/terms'
,
'PRIVACY'
:
'/privacypolicy'
,
}
}
MKTG_URL_LINK_MAP
=
{
MKTG_URL_LINK_MAP
=
{
'ABOUT'
:
'about_edx'
,
'ABOUT'
:
'about_edx'
,
...
@@ -603,4 +606,7 @@ MKTG_URL_LINK_MAP = {
...
@@ -603,4 +606,7 @@ MKTG_URL_LINK_MAP = {
'FAQ'
:
'help_edx'
,
'FAQ'
:
'help_edx'
,
'COURSES'
:
'courses'
,
'COURSES'
:
'courses'
,
'ROOT'
:
'root'
,
'ROOT'
:
'root'
,
'TOS'
:
'tos'
,
'HONOR'
:
'honor'
,
'PRIVACY'
:
'privacy_edx'
,
}
}
lms/templates/footer.html
View file @
7143749d
...
@@ -78,10 +78,10 @@
...
@@ -78,10 +78,10 @@
<nav
class=
"nav-legal"
>
<nav
class=
"nav-legal"
>
<ul>
<ul>
<li
class=
"nav-legal-01"
>
<li
class=
"nav-legal-01"
>
<a
href=
"${
reverse('tos
')}"
>
Terms of Service and Honor Code
</a>
<a
href=
"${
marketing_link('TOS
')}"
>
Terms of Service and Honor Code
</a>
</li>
</li>
<li
class=
"nav-legal-02"
>
<li
class=
"nav-legal-02"
>
<a
href=
"${
reverse('privacy_edx
')}"
>
Privacy Policy
</a>
<a
href=
"${
marketing_link('PRIVACY
')}"
>
Privacy Policy
</a>
</li>
</li>
</ul>
</ul>
</nav>
</nav>
...
...
lms/templates/register.html
View file @
7143749d
...
@@ -212,12 +212,12 @@
...
@@ -212,12 +212,12 @@
<li
class=
"field-group"
>
<li
class=
"field-group"
>
<div
class=
"field required checkbox"
id=
"field-tos"
>
<div
class=
"field required checkbox"
id=
"field-tos"
>
<input
id=
"tos-yes"
type=
"checkbox"
name=
"terms_of_service"
value=
"true"
/>
<input
id=
"tos-yes"
type=
"checkbox"
name=
"terms_of_service"
value=
"true"
/>
<label
for=
"tos-yes"
>
I agree to the
<a
href=
"${
reverse('tos
')}"
class=
"new-vp"
>
Terms of Service
</a></label>
<label
for=
"tos-yes"
>
I agree to the
<a
href=
"${
marketing_link('TOS
')}"
class=
"new-vp"
>
Terms of Service
</a></label>
</div>
</div>
<div
class=
"field required checkbox"
id=
"field-honorcode"
>
<div
class=
"field required 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"
/>
<label
for=
"honorcode-yes"
>
I agree to the
<a
href=
"${
reverse('honor
')}"
class=
"new-vp"
>
Honor Code
</a></label>
<label
for=
"honorcode-yes"
>
I agree to the
<a
href=
"${
marketing_link('HONOR
')}"
class=
"new-vp"
>
Honor Code
</a></label>
</div>
</div>
</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