diff --git a/themes/edx.org/lms/templates/dashboard.html b/themes/edx.org/lms/templates/dashboard.html index c3c7de2df28247cfd336a2cbb2fbf680e639ddab..426f9d89530ba076f099290fb301fea80b05877d 100644 --- a/themes/edx.org/lms/templates/dashboard.html +++ b/themes/edx.org/lms/templates/dashboard.html @@ -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>