Commit a616decf by Clinton Blackburn

Merge pull request #5401 from edx/insights-for-all

Displaying Insights Link for All Instructors
parents 1dcab98e 4f9725a0
......@@ -106,7 +106,7 @@ def instructor_dashboard_2(request, course_id):
disable_buttons = enrollment_count > max_enrollment_for_buttons
analytics_dashboard_message = None
if settings.ANALYTICS_DASHBOARD_URL and access['admin']:
if settings.ANALYTICS_DASHBOARD_URL:
# Construct a URL to the external analytics dashboard
analytics_dashboard_url = '{0}/courses/{1}'.format(settings.ANALYTICS_DASHBOARD_URL, unicode(course_key))
link_start = "<a href=\"{}\" target=\"_blank\">".format(analytics_dashboard_url)
......
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