Commit a4d401bd by Xavier Antoviaque

message-incomplete: Add "incomplete" message type for errors

parent 86c53315
......@@ -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
......
......@@ -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>
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