From 87784d1cff69641afcbd4c7989639def02df9ce1 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Fri, 15 Feb 2013 14:36:10 -0500 Subject: [PATCH] Make sure the submissions history only shows up with problems. --- lms/templates/staff_problem_info.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html index f427709bce..f89d5ab9d5 100644 --- a/lms/templates/staff_problem_info.html +++ b/lms/templates/staff_problem_info.html @@ -14,7 +14,8 @@ ${module_content} % endif
Staff Debug Info
-% if settings.MITX_FEATURES.get('ENABLE_STUDENT_HISTORY_VIEW'): +% if settings.MITX_FEATURES.get('ENABLE_STUDENT_HISTORY_VIEW') and \ + location.category == 'problem':
Submission history
% endif