Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
e34b40f0
Commit
e34b40f0
authored
Mar 20, 2017
by
Cliff Dyer
Committed by
GitHub
Mar 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14715 from edx/neem/show-rescore
Ensure ScorableXBlocks have rescore button.
parents
8ec9012e
9ee79a57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
openedx/core/lib/xblock_utils/__init__.py
+1
-1
No files found.
openedx/core/lib/xblock_utils/__init__.py
View file @
e34b40f0
...
...
@@ -383,7 +383,7 @@ def add_staff_markup(user, has_instructor_access, disable_staff_debug_info, bloc
'is_released'
:
is_released
,
'has_instructor_access'
:
has_instructor_access
,
'can_reset_attempts'
:
'attempts'
in
block
.
fields
,
'can_rescore_problem'
:
hasattr
(
block
,
'rescore_problem'
),
'can_rescore_problem'
:
any
(
hasattr
(
block
,
rescore
)
for
rescore
in
[
'rescore_problem'
,
'rescore'
]
),
'disable_staff_debug_info'
:
disable_staff_debug_info
,
}
return
wrap_fragment
(
frag
,
render_to_string
(
"staff_problem_info.html"
,
staff_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