Only show "Course Statistics at a Glance" in the Admin tab

This commit is contained in:
Sarina Canelake
2014-11-21 10:13:53 -05:00
parent bfa8349ec4
commit 919e411fd9

View File

@@ -672,8 +672,7 @@ function goto( mode)
##-----------------------------------------------------------------------------
%if course_stats and modeflag.get('Psychometrics') is None:
%if modeflag.get('Admin') and course_stats:
<br/>
<br/>
<p>
@@ -694,6 +693,13 @@ function goto( mode)
%endfor
</table>
</p>
%else:
<br/>
<br/>
<h2>${_("Course Statistics At A Glance")}</h2>
<p class="deprecated">
${_("These statistics can be viewed under the 'Admin' tab of the legacy instructor dashboard.")}
</p>
%endif
##-----------------------------------------------------------------------------