{% load i18n %}
{% load inlinestyles %}

<li {% if selected_delivery_id == delivery.id %}class="selected-delivery"{% endif %}>
  <div class="deliverynumber">
    {{ delivery.number }}:
  </div>
  <div class="deliveryinfo">
    <a href='{% url devilry-examiner-edit-feedback delivery.id %}' class="deliverydate">
      {{ delivery.time_of_delivery|date:"DATETIME_FORMAT" }}
    </a>
    <div class="unimportant">
      {% spaceless %}
        {{ delivery|status }}
        {% if delivery.feedback %}
          ({{ delivery.feedback.get_grade_as_short_string }})
        {% endif %}
        {% comment %}
        {% if delivery.feedback.published %}
          <span class='delivery_published_msg'>({% trans "Published" %})</span>
        {% endif %}
        {% if delivery.feedback and not delivery.feedback.published %}
          <span class='status_corrected_not_published'>({% trans "Feedback is not published, and not viewable by the student(s)" %})</span>
        {% endif %}
        {% endcomment %}
        {% if after_last_deadline_msg %}
          <span class='bad'> ({% trans "After last deadline" %})</span>
        {% endif %}
      {% endspaceless %}
    </div>
  </div>
</li>

{% load i18n %}
{% load inlinestyles %}

<li {% if selected_delivery_id == delivery.id %}class="selected-delivery"{% endif %}>
  <div class="deliverynumber">
    {{ delivery.number }}:
  </div>
  <div class="deliveryinfo">
    <a href='{% url devilry-examiner-edit-feedback delivery.id %}' class="deliverydate">
      {{ delivery.time_of_delivery|date:"DATETIME_FORMAT" }}
    </a>

	{% if delivery.after_deadline %}
	<div class="bad">
	  After deadline
	</div>
	{% endif %}
	
    <div class="unimportant">
      {% spaceless %}
        {{ delivery|status }}
        {% if delivery.feedback %}
          ({{ delivery.feedback.get_grade_as_short_string }})
        {% endif %}
        {% comment %}
        {% if delivery.feedback.published %}
          <span class='delivery_published_msg'>({% trans "Published" %})</span>
        {% endif %}
        {% if delivery.feedback and not delivery.feedback.published %}
          <span class='status_corrected_not_published'>({% trans "Feedback is not published, and not viewable by the student(s)" %})</span>
        {% endif %}
        {% endcomment %}
        {% if after_last_deadline_msg %}
          <span class='bad'> ({% trans "After last deadline" %})</span>
        {% endif %}
      {% endspaceless %}
    </div>
  </div>
</li>

Add warning of 'After deadline'
Add warning of 'After deadline'
