Commit c82b28aa by Greg Price

Merge pull request #1977 from edx/fix/gprice/drupal-registration-links

Fix links to honor code, ToS, and privacy policy for marketing site
parents 50d8321b 7143749d
......@@ -596,6 +596,9 @@ MKTG_URLS = {
'CONTACT': '/contact',
'HOW_IT_WORKS': '/how-it-works',
'SCHOOLS': '/schools',
'TOS': '/terms',
'HONOR': '/terms',
'PRIVACY': '/privacypolicy',
}
MKTG_URL_LINK_MAP = {
'ABOUT': 'about_edx',
......@@ -603,4 +606,7 @@ MKTG_URL_LINK_MAP = {
'FAQ': 'help_edx',
'COURSES': 'courses',
'ROOT': 'root',
'TOS': 'tos',
'HONOR': 'honor',
'PRIVACY': 'privacy_edx',
}
......@@ -78,10 +78,10 @@
<nav class="nav-legal">
<ul>
<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 class="nav-legal-02">
<a href="${reverse('privacy_edx')}">Privacy Policy</a>
<a href="${marketing_link('PRIVACY')}">Privacy Policy</a>
</li>
</ul>
</nav>
......
......@@ -212,12 +212,12 @@
<li class="field-group">
<div class="field required checkbox" id="field-tos">
<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 class="field required checkbox" id="field-honorcode">
<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>
</li>
</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