Commit 7143749d by Greg Price

Fix links to honor code, ToS, and privacy policy for marketing site

parent 621f4c65
...@@ -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',
} }
...@@ -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>
......
...@@ -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>
......
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