Commit f39d68ae by Stephen Sanchez Committed by Brian Talbot

Updating the grading section to display all the remaining steps

There was a leftover TODO that needed to be fleshed out around the grading status. This will now list all the remaining steps when going through the assessment process.
parent e80af004
<div id="openassessment__grade" class="openassessment__grade is--incomplete awaiting--peer-responses"> <li id="openassessment__grade" class="openassessment__steps__step step--grade is--incomplete">
<h2 class="openassessment__grade__title">Your Grade:</h2> <header class="step__header ui-toggle-visibility__control">
<h2 class="step__title">
<div class="openassessment__grade__content"> <span class="wrapper--copy">
<span class="grade__value">Not Completed</span> <span class="step__label">Your Grade: </span>
<p>You have not completed the {% for step in incomplete_steps %}<span class="step">{{ step }} step </span> {% if not forloop.last %} and {% endif %}{% endfor %} of this problem.</p> <span class="grade__value">
</div> <span class="grade__value__title">Not Completed</span>
</div> <p class="grade__value__description">You have not completed the {% for step in incomplete_steps %}<span class="step">{{ step }} step </span> {% if not forloop.last %} and {% endif %}{% endfor %} of this problem.</p>
</span>
</span>
</h2>
</header>
</li>
from xblock.core import XBlock from xblock.core import XBlock
from openassessment.assessment.peer_api import get_assessments
from openassessment.assessment import peer_api from openassessment.assessment import peer_api
class GradeMixin(object): class GradeMixin(object):
......
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