Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
fa1bcb6a
Commit
fa1bcb6a
authored
Jul 19, 2017
by
Braden MacDonald
Committed by
GitHub
Jul 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #152 from open-craft/yonk-mobile-test
Enable mobile support
parents
d312e9a5
6cc91693
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
problem_builder/dashboard.py
+1
-0
problem_builder/mentoring.py
+2
-0
No files found.
problem_builder/dashboard.py
View file @
fa1bcb6a
...
...
@@ -382,6 +382,7 @@ class DashboardBlock(StudioEditableXBlockMixin, ExportMixin, XBlock):
if
child_isinstance
(
mentoring_block
,
child_id
,
MCQBlock
):
yield
child_id
@XBlock.supports
(
"multi_device"
)
# Mark as mobile-friendly
def
student_view
(
self
,
context
=
None
):
# pylint: disable=unused-argument
"""
Standard view of this XBlock.
...
...
problem_builder/mentoring.py
View file @
fa1bcb6a
...
...
@@ -439,6 +439,7 @@ class MentoringBlock(BaseMentoringBlock, StudioContainerWithNestedXBlocksMixin,
return
Score
(
score
,
int
(
round
(
score
*
100
)),
correct
,
incorrect
,
partially_correct
)
@XBlock.supports
(
"multi_device"
)
# Mark as mobile-friendly
def
student_view
(
self
,
context
):
from
.questionnaire
import
QuestionnaireAbstractBlock
# Import here to avoid circular dependency
...
...
@@ -1093,6 +1094,7 @@ class MentoringWithExplicitStepsBlock(BaseMentoringBlock, StudioContainerWithNes
def
show_extended_feedback
(
self
):
return
self
.
extended_feedback
and
self
.
max_attempts_reached
@XBlock.supports
(
"multi_device"
)
# Mark as mobile-friendly
def
student_view
(
self
,
context
):
fragment
=
Fragment
()
children_contents
=
[]
...
...
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