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
a4d401bd
Commit
a4d401bd
authored
May 01, 2014
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
message-incomplete: Add "incomplete" message type for errors
parent
86c53315
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
mentoring/mentoring.py
+1
-1
mentoring/templates/xml/mentoring_default.xml
+3
-0
No files found.
mentoring/mentoring.py
View file @
a4d401bd
...
...
@@ -149,7 +149,7 @@ class MentoringBlock(XBlockWithLightChildren):
if
completed
:
message
=
self
.
get_message_html
(
'completed'
)
else
:
message
=
''
message
=
self
.
get_message_html
(
'incomplete'
)
if
self
.
has_missing_dependency
:
completed
=
False
...
...
mentoring/templates/xml/mentoring_default.xml
View file @
a4d401bd
...
...
@@ -42,4 +42,7 @@
<message
type=
"completed"
>
<html><p>
Congratulations!
</p></html>
</message>
<message
type=
"incomplete"
>
<html><p>
Still some work to do...
</p></html>
</message>
</mentoring>
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