{% load i18n %}
{% if attach_message %}
{{ attach_message }}
{% endif %} {% if attachments %}
{% for att in attachments %} {% endfor %}
{{ att.original_name }} {% if att.uploaded_by %}{{ att.uploaded_by.short_name|default:att.uploaded_by.get_full_name }} · {% endif %}{{ att.created_at|date:"d.m H:i" }} {% if att.size %}{{ att.size|filesizeformat }}{% endif %} {% if att.can_delete %}
{% csrf_token %}
{% endif %}
{% else %}
{% trans "Файлов пока нет" %}
{% endif %}
{% csrf_token %}