Commit bc0c1382 by Sarina Canelake

Add segment.io tracking for legacy instructor dashboard

LMS-1296
parent b7a0de7f
if $('.instructor-dashboard-wrapper').length == 1
analytics.track "Loaded an Instructor Dashboard Page",
analytics.track "Loaded a Legacy Instructor Dashboard Page",
location: window.location.pathname
dashboard_page: $('.navbar .selectedmode').text()
......@@ -131,7 +131,7 @@ function goto( mode)
<h1>${_("Instructor Dashboard")}</h1>
<div class="wrapper-msg urgency-low warning">
<div class="msg""
<div class="msg"
<p>${_("You are using the legacy instructor dashboard, which will be going away in the near future. Please use the Standard Dashboard. If it is missing functionality, please let us know.")}
<a href="${ standard_dashboard_url }">${_("Return to the Standard Dashboard")} <i class="icon-angle-right"></i></a></p>
</div>
......
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