{% load i18n notification_filters permissions_tags %} {% subject_permissions request.user subject as has_subject_permissions %} {% for notification in notifications %}

{{ notification }}

{% trans 'Final Date/Time' %}: {{ notification.task.end_date|default:_('Not Informed') }}

{% if notification.level == 2 %}

{% trans 'Your goal was to realize this in' %}: {{ notification.meta }}

{% elif notification.level == 4 %}

{% trans 'Task finished in' %}: {{ notification.task.limit_date }}

{% endif %} {% if notification|done_percent >= 30 %} {{ notification|done_percent|floatformat:2 }}% {% trans 'of the participants already realized this task.' %} {% endif %}
{{ notification.level|warning_msg:has_subject_permissions }}
{% if not has_subject_permissions %}
{% if notification.level == 4 %} {% trans 'Access the task' %} {% else %} {% trans 'Realize the task' %} {% endif %} {% if notification.level < 3 %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endfor %}