{% load i18n %} {% load humanize %} {% load cradmin_tags %}
{% if assignment.publishing_time_is_in_future %}

{% trans "Will be published:" %} {{ assignment.publishing_time|date:"SHORT_DATETIME_FORMAT" }}

{% trans "Students and examiners will not see the assignment before it is published." %}

{% else %}

{% trans "Was published: " %} {{ assignment.publishing_time|date:"SHORT_DATETIME_FORMAT" }}

{% trans "This assignment is now avaibable for both students and examiners" %}

{% endif %}
{% if not assignment.is_published %}
{% csrf_token %}
{% endif %} {% trans "Edit publishing time" %}

{% trans "First deadline" %}: {{ assignment.first_deadline|date:"SHORT_DATETIME_FORMAT" }}

{% blocktrans trimmed with deadline=assignment.first_deadline context "first_deadline description" %} The first deadline is {{ deadline }}. This deadline is common for all students unless a new deadline have been provided to a group. {% endblocktrans %}