Commit 5927c6aa by Braden MacDonald Committed by GitHub

Merge pull request #37 from open-craft/mobile-friendly

Mark Poll and Survey XBlocks as Mobile friendly
parents 0e2ef351 5f0624b4
......@@ -396,6 +396,7 @@ class PollBlock(PollBase):
return None
@XBlock.supports("multi_device") # Mark as mobile-friendly
def student_view(self, context=None):
"""
The primary view of the PollBlock, shown to students
......@@ -655,6 +656,7 @@ class SurveyBlock(PollBase):
choices = Dict(help=_("The user's answers"), scope=Scope.user_state)
event_namespace = 'xblock.survey'
@XBlock.supports("multi_device") # Mark as mobile-friendly
def student_view(self, context=None):
"""
The primary view of the SurveyBlock, shown to students
......
Markdown is supported
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