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
aee89c7f
Commit
aee89c7f
authored
Mar 30, 2014
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #230 from edx/ormsbee/staff_debug_item_id
Show item_id (location) in Course Staff Debug section.
parents
395d162d
6d251015
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
apps/openassessment/templates/openassessmentblock/staff_debug.html
+3
-0
apps/openassessment/xblock/openassessmentblock.py
+1
-0
No files found.
apps/openassessment/templates/openassessmentblock/staff_debug.html
View file @
aee89c7f
...
...
@@ -37,6 +37,9 @@
</table>
</div>
<div
class=
"staff-info__status ui-staff__content__section"
>
Location: {{ item_id }}
</div>
</div>
</div>
</div>
apps/openassessment/xblock/openassessmentblock.py
View file @
aee89c7f
...
...
@@ -298,6 +298,7 @@ class OpenAssessmentBlock(
context_dict
[
'is_course_staff'
]
=
True
context_dict
[
'status_counts'
]
=
status_counts
context_dict
[
'num_submissions'
]
=
num_submissions
context_dict
[
'item_id'
]
=
unicode
(
self
.
scope_ids
.
usage_id
)
template
=
get_template
(
"openassessmentblock/oa_base.html"
)
context
=
Context
(
context_dict
)
...
...
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