Commit 919e411f by Sarina Canelake

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

parent bfa8349e
......@@ -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
##-----------------------------------------------------------------------------
......
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