{% extends "devilry_examiner/base.django.html" %} {% load url from future %} {% load i18n %} {% load devilry_examiner_tags %} {# NOTE: The title is in a bit strange order because we want the most important information to visible in the tab (the name of the group, and the assignment). #} {% block title %} {{ group.short_displayname }} - {{ group.assignment.short_name }} - {{ group.assignment.parentnode.get_path }} {% endblock title %} {% block body %}
{% trans "Status" %}: {{ group.get_status|formatted_status }} {% if group.delivery_status == 'corrected' %}

{% trans "Grade" %}: {{ group.feedback.grade }} ({{ group.feedback.is_passing_grade|format_is_passing_grade }})

{% elif group.delivery_status == 'closed-without-feedback' %}

{% trans "The group was closed without getting any feedback. This means that, as far as Devilry is concerned, this groups got the lowest possible score on this assignment (zero points)." %}

{% endif %}
{% include "devilry_examiner/include/give_another_chance_question.django.html" with group=group %} {% include "devilry_examiner/include/missing_expected_delivery_box.django.html" with group=group %}
{# Make it possible to add deadlines and non-electronic deliveries at any time on electronic assignments #} {# NOTE: This if is because we do not want double up with buttons when the warning/info boxes included above is rendered #} {% if group.assignment.is_electronic and not group.missing_expected_delivery %}
{% if not group.should_ask_if_examiner_want_to_give_another_chance %}
{% endif %}
{% endif %} {% for deadline in group.deadlines.all %}

{% blocktrans with number=forloop.revcounter %}Deadline {{ number }}{% endblocktrans %} {{ deadline.deadline|date:"DATETIME_FORMAT" }}

{% if deadline.text %}

{{ deadline.text }}

{% endif %}
{% for delivery in deadline.query_successful_deliveries %} {% empty %}

{% trans "No deliveries" %}

{% endfor %}

{% blocktrans with number=delivery.number %}Delivery #{{ number }}{% endblocktrans %}

{% if delivery.last_feedback %}

()

{% else %}

{% trans "No feedback" %}

{% endif %} {% if delivery.after_deadline %}

{% blocktrans with timeafter=delivery.deadline.deadline|timesince:delivery.time_of_delivery %} {{ timeafter }} after the deadline {% endblocktrans %}

{% endif %}
{% endfor %} {% endblock %}