Make sure the submissions history only shows up with problems.
This commit is contained in:
@@ -14,7 +14,8 @@ ${module_content}
|
||||
% endif
|
||||
<div><a href="#${element_id}_debug" id="${element_id}_trig">Staff Debug Info</a></div>
|
||||
|
||||
% if settings.MITX_FEATURES.get('ENABLE_STUDENT_HISTORY_VIEW'):
|
||||
% if settings.MITX_FEATURES.get('ENABLE_STUDENT_HISTORY_VIEW') and \
|
||||
location.category == 'problem':
|
||||
<div><a href="#${element_id}_history" id="${element_id}_history_trig">Submission history</a></div>
|
||||
% endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user