{% comment %} A include template that renders a feedback read-only view. It includes a block within the alert-box showing the grade that can be used by extending templates to add a button (used to add an "Edit feedback" button) in readonly-feedback-with-editbutton.django.html. {% endcomment %} {% load i18n %} {% load devilry_examiner_tags %} {% include "markup/mathjaxheader.django.html" %}
{% trans "Grade" %}: {{ feedback.grade }} ({{ feedback.is_passing_grade|format_is_passing_grade }}) {% block alertboxbutton %}{% endblock alertboxbutton %}
{% if feedback.rendered_view or feedback.files.exists %}
{% include "devilry_student/include/feedback-rendered-view.django.html" with feedback=feedback only %}
{% endif %}