Skip to content
Snippets Groups Projects
Commit e0ac6834 authored by Diana Huang's avatar Diana Huang
Browse files

Fix links between marketing site and courseware.

Update links in footer to point to the right pages.
Update link on dashboard without any classes.
Update links in header.
Update links on sign in and register pages.
parent 582b23d7
No related branches found
Tags release-2020-10-30-12.40
No related merge requests found
......@@ -326,7 +326,11 @@
% else:
<section class="empty-dashboard-message">
<p>Looks like you haven't registered for any courses yet.</p>
<a href="${reverse('courses')}">Find courses now!</a>
% if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'):
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('COURSES')}">Find courses now!</a>
%else:
<a href="${reverse('courses')}">Find courses now!</a>
%endif
</section>
% endif
......
......@@ -6,6 +6,25 @@
<footer>
<div class="colophon">
<nav class="nav-colophon">
% if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'):
<ol>
<li class="nav-colophon-01">
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('ABOUT')}">About</a>
</li>
<li class="nav-colophon-02">
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('JOBS')}">Jobs</a>
</li>
<li class="nav-colophon-03">
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('PRESS')}">Press</a>
</li>
<li class="nav-colophon-04">
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('FAQ')}">FAQ</a>
</li>
<li class="nav-colophon-05">
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('CONTACT')}">Contact</a>
</li>
</ol>
%else:
<ol>
<li class="nav-colophon-01">
<a href="${reverse('about_edx')}">About</a>
......@@ -28,6 +47,7 @@
</li>
% endif
</ol>
%endif
</nav>
<div class="colophon-about">
......@@ -82,4 +102,4 @@
</nav>
</div>
</footer>
</div>
\ No newline at end of file
</div>
......@@ -147,10 +147,10 @@
<div class="cta cta-help">
<h3>Not Enrolled?</h3>
<p><a href="#">Sign up for edX today!</a></p>
<p><a href="${reverse('register_user')}">Sign up for edX today!</a></p>
<h3>Need Help?</h3>
<p>Looking for help in logging in or with your edX account? <a href="#">View our help section for answers to commonly asked questions</a></p>
<p>Looking for help in logging in or with your edX account? <a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('FAQ')}">View our help section for answers to commonly asked questions</a></p>
</div>
</aside>
</section>
......
......@@ -38,7 +38,15 @@ site_status_msg = get_site_status_msg(course_id)
<header class="global" aria-label="Global Navigation">
% endif
<nav>
<h1 class="logo"><a href="${reverse('root')}"><img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}"/></a></h1>
<h1 class="logo">
% if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'):
<a href="${settings.MKTG_URLS.get('ROOT')}">
% else:
<a href="${reverse('root')}">
%endif
<img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}"/>
</a></h1>
% if course:
<h2><span class="provider">${course.org}:</span> ${course.number} ${course.display_name_with_default}</h2>
......@@ -65,7 +73,11 @@ site_status_msg = get_site_status_msg(course_id)
<li class="primary">
<a href="#" class="dropdown">&#9662</a>
<ul class="dropdown-menu">
% if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'):
<li><a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('FAQ')}">Help</a></li>
%else:
<li><a href="${reverse('help_edx')}">Help</a></li>
%endif
<li><a href="${reverse('logout')}">Log Out</a></li>
</ul>
</li>
......
......@@ -236,7 +236,7 @@
<div class="cta cta-help">
<h3>Need Help?</h3>
<p>Need help in registering with edX? <a href="#">View our FAQs for answers to commonly asked questions</a>. Once registered, most questions can be answered in the course specific discussion forums or through the FAQs.</p>
<p>Need help in registering with edX? <a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('FAQ')}">View our FAQs for answers to commonly asked questions</a>. Once registered, most questions can be answered in the course specific discussion forums or through the FAQs.</p>
</div>
</aside>
</section>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment