[MICROBA-281] Updated the coaching aside to point to the Caching wizaard

form
This commit is contained in:
Albert (AJ) St. Aubin
2020-05-28 10:26:33 -04:00
parent 436e3cf51d
commit db756d9312

View File

@@ -285,7 +285,10 @@ from student.models import CourseEnrollment
</div>
% endif
<% account_mfe_url = getattr(settings, 'ACCOUNT_MICROFRONTEND_URL', '') or '' %>
<%
account_mfe_url = getattr(settings, 'ACCOUNT_MICROFRONTEND_URL', '') or ''
coaching_consent_url = "%s/coaching_consent?next=%s" % (account_mfe_url, getattr(settings, 'LMS_ROOT_URL', '') + resume_button_url)
%>
% if plugins.get("coaching", {}).get("show_coaching_aside"):
<div class="wrapper-coaching">
<div class="coaching-signup">
@@ -293,7 +296,7 @@ from student.models import CourseEnrollment
${_("Take advantage of free coaching!")}
</div>
<div class="coaching-link">
<a class="btn-neutral" href="${account_mfe_url}">
<a class="btn-neutral" href="${coaching_consent_url}">
${_("Get Started")}
</a>
</div>