Commit ef62ec64 by Stephen Sanchez

Wiring the appropriate templates into the peer section UI

parent 4ce1f072
...@@ -165,11 +165,9 @@ class PeerAssessmentMixin(object): ...@@ -165,11 +165,9 @@ class PeerAssessmentMixin(object):
path = 'openassessmentblock/peer/oa_peer_turbo_mode.html' path = 'openassessmentblock/peer/oa_peer_turbo_mode.html'
context_dict["peer_submission"] = peer_sub context_dict["peer_submission"] = peer_sub
else: else:
path = 'openassessmentblock/peer/oa_peer_complete.html' path = 'openassessmentblock/peer/oa_peer_waiting.html'
elif workflow.get("status") == "done": elif workflow.get("status") == "done" or finished:
path = "openassessmentblock/peer/oa_peer_complete.html" path = "openassessmentblock/peer/oa_peer_complete.html"
elif finished:
path = 'openassessmentblock/peer/oa_peer_waiting.html'
return self.render_assessment(path, context_dict) return self.render_assessment(path, context_dict)
......
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