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
f66dd0c2
Commit
f66dd0c2
authored
May 22, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
apps/openassessment/xblock/staff_info_mixin.py
+3
-6
No files found.
apps/openassessment/xblock/staff_info_mixin.py
View file @
f66dd0c2
...
...
@@ -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
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