From 919e411fd9f99ceb7d10f8e1f602344b83d0d0fa Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Fri, 21 Nov 2014 10:13:53 -0500 Subject: [PATCH] Only show "Course Statistics at a Glance" in the Admin tab --- .../courseware/legacy_instructor_dashboard.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lms/templates/courseware/legacy_instructor_dashboard.html b/lms/templates/courseware/legacy_instructor_dashboard.html index d67514b2fa..9696d1ec56 100644 --- a/lms/templates/courseware/legacy_instructor_dashboard.html +++ b/lms/templates/courseware/legacy_instructor_dashboard.html @@ -672,8 +672,7 @@ function goto( mode) ##----------------------------------------------------------------------------- -%if course_stats and modeflag.get('Psychometrics') is None: - +%if modeflag.get('Admin') and course_stats:

@@ -694,6 +693,13 @@ function goto( mode) %endfor

+%else: +
+
+

${_("Course Statistics At A Glance")}

+

+ ${_("These statistics can be viewed under the 'Admin' tab of the legacy instructor dashboard.")} +

%endif ##-----------------------------------------------------------------------------