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
9ee79a57
Commit
9ee79a57
authored
8 years ago
by
J. Cliff Dyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure ScorableXBlocks have rescore button.
parent
3c040b93
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 @
9ee79a57
...
@@ -383,7 +383,7 @@ def add_staff_markup(user, has_instructor_access, disable_staff_debug_info, bloc
...
@@ -383,7 +383,7 @@ def add_staff_markup(user, has_instructor_access, disable_staff_debug_info, bloc
'is_released'
:
is_released
,
'is_released'
:
is_released
,
'has_instructor_access'
:
has_instructor_access
,
'has_instructor_access'
:
has_instructor_access
,
'can_reset_attempts'
:
'attempts'
in
block
.
fields
,
'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
,
'disable_staff_debug_info'
:
disable_staff_debug_info
,
}
}
return
wrap_fragment
(
frag
,
render_to_string
(
"staff_problem_info.html"
,
staff_context
))
return
wrap_fragment
(
frag
,
render_to_string
(
"staff_problem_info.html"
,
staff_context
))
...
...
This diff is collapsed.
Click to expand it.
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