Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
24df7773
Commit
24df7773
authored
May 19, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show new-style locations in course staff debug info (opaque keys update)
parent
13d2e3ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
apps/openassessment/xblock/staff_info_mixin.py
+6
-3
No files found.
apps/openassessment/xblock/staff_info_mixin.py
View file @
24df7773
...
...
@@ -37,7 +37,11 @@ class StaffInfoMixin(object):
status_counts
,
num_submissions
=
self
.
get_workflow_status_counts
()
context
[
'status_counts'
]
=
status_counts
context
[
'num_submissions'
]
=
num_submissions
context
[
'item_id'
]
=
student_item
[
"item_id"
]
# 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
)
# Include release/due dates for each step in the problem
context
[
'step_dates'
]
=
list
()
...
...
@@ -127,4 +131,4 @@ class StaffInfoMixin(object):
criterion
[
"total_value"
]
=
max_scores
[
criterion
[
"name"
]]
path
=
'openassessmentblock/staff_debug/student_info.html'
return
path
,
context
\ No newline at end of file
return
path
,
context
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment