Commit f66dd0c2 by Will Daly

Merge pull request #356 from edx/will/use-old-course-locations-for-staff-info

Back to old-style locations for course staff info
parents 728d7d6b 7cc66b0e
......@@ -37,11 +37,7 @@ class StaffInfoMixin(object):
status_counts, num_submissions = self.get_workflow_status_counts()
context['status_counts'] = status_counts
context['num_submissions'] = num_submissions
# We need to display the new-style locations in the course staff
# info, even if we're using old-style locations internally,
# so course staff can use the locations to delete student state.
context['item_id'] = unicode(self.scope_ids.usage_id)
context['item_id'] = student_item["item_id"]
# Include release/due dates for each step in the problem
context['step_dates'] = list()
......@@ -131,4 +127,4 @@ class StaffInfoMixin(object):
criterion["total_value"] = max_scores[criterion["name"]]
path = 'openassessmentblock/staff_debug/student_info.html'
return path, context
return path, context
\ No newline at end of file
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