{% load i18n %}
{% spaceless %}
<div id="openassessment__message" class="openassessment__message message">
    <h3 class="message__title">
        {% if waiting %}
            {% trans "Waiting for Peer Submissions" %}
        {% elif peer_not_released %}
            {% trans "The Period For Peer Evaluation Has Not Started" %}
        {% else %}
            {% trans "Your Response Has Been Submitted For Peer Assessment" %}
        {% endif %}
    </h3>
    <div class="message__content">
        <p>
            {% if peer_not_released %}
                {% trans "Check back later when the assessment period has opened." %}
            {% else %}
                {% if peer_approaching %}
                    <strong> {% trans "Peer evaluation of this assignment will close soon. " %} </strong>
                {% endif %}
                {% if waiting %}
                    {% trans "All submitted peer responses have been assessed. Check back later to see if more students have submitted responses. " %}
                {% endif %}
                {% if has_self %}
                    {% blocktrans %}You'll receive your grade after you complete the <a data-behavior="ui-scroll" href="#openassessment__peer-assessment">peer assessment</a> and <a data-behavior="ui-scroll" href="#openassessment__self-assessment">self assessment</a> steps, and after your peers have assessed your response.{% endblocktrans %}
                {% else %}
                    {% blocktrans %}You'll receive your grade after you complete the <a data-behavior="ui-scroll" href="#openassessment__peer-assessment">peer assessment</a> step.{% endblocktrans %}
                {% endif %}
            {% endif %}
        </p>
    </div>
</div>
{% endspaceless %}
