Skip to content
Snippets Groups Projects
Unverified Commit 69afeaac authored by Matthew Piatetsky's avatar Matthew Piatetsky Committed by GitHub
Browse files

Merge pull request #18948 from cpennington/tag-graded-scored-content

Mark xblocks with data-graded and data-has-score
parents 522028b0 cc7f692c
Branches
Tags
No related merge requests found
......@@ -130,6 +130,8 @@ def wrap_xblock(
data['block-type'] = block.scope_ids.block_type
data['usage-id'] = usage_id_serializer(block.scope_ids.usage_id)
data['request-token'] = request_token
data['graded'] = getattr(block, 'graded', False)
data['has-score'] = getattr(block, 'has_score', False)
if block.name:
data['name'] = block.name
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment