{% autoescape off %}{{ message.html }}{% endautoescape %}
{% if attachments %}
Добавлены файлы:
{% for attachment in attachments %}
{{ attachment.name }}
{% endfor %}
{% endif %}
{% if message.type == 'incoming' or message.type == 'outcoming'%}
Перейти на страницу внешней коммуникации в Фемиде.
{% elif message.type == 'internal' %}
Перейти на страницу комментариев в Фемиде.
{% elif message.type == 'official' %}
Перейти на страницу заметок в Фемиде.
{% endif %}