From db756d931224e839ec0be620b891a13c9aad583f Mon Sep 17 00:00:00 2001
From: "Albert (AJ) St. Aubin" <astaubin@edx.org>
Date: Thu, 28 May 2020 10:26:33 -0400
Subject: [PATCH] [MICROBA-281] Updated the coaching aside to point to the
 Caching wizaard form

---
 themes/edx.org/lms/templates/dashboard.html | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/themes/edx.org/lms/templates/dashboard.html b/themes/edx.org/lms/templates/dashboard.html
index c3c7de2df28..426f9d89530 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>
-- 
GitLab