Hide 'Reset Attempts' and 'Rescore Problem' on unsupported blocks.
CAPA problems have the "Staff Debug Info" button, which allows instructors to "Reset Attempts" and "Rescore problem" for any individual student. XBlocks, such as Drag and Drop v2 do not support those, though the UI was still present. Clicking any of those links would result in an "Unknown Error Occurred" message. This commit hides the two buttons if the associated block does not support them.
Showing
Please
register
or
sign in
to comment