Commit a4d401bd by Xavier Antoviaque

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

parent 86c53315
...@@ -149,7 +149,7 @@ class MentoringBlock(XBlockWithLightChildren): ...@@ -149,7 +149,7 @@ class MentoringBlock(XBlockWithLightChildren):
if completed: if completed:
message = self.get_message_html('completed') message = self.get_message_html('completed')
else: else:
message = '' message = self.get_message_html('incomplete')
if self.has_missing_dependency: if self.has_missing_dependency:
completed = False completed = False
......
...@@ -42,4 +42,7 @@ ...@@ -42,4 +42,7 @@
<message type="completed"> <message type="completed">
<html><p>Congratulations!</p></html> <html><p>Congratulations!</p></html>
</message> </message>
<message type="incomplete">
<html><p>Still some work to do...</p></html>
</message>
</mentoring> </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