0.8.32 tickets text

This commit is contained in:
SDE
2023-12-03 20:37:01 +03:00
parent 95dff519b8
commit 447a78cd3a
2 changed files with 8 additions and 1 deletions

View File

@@ -19,7 +19,11 @@
<div class="message-sprt-title">
<span>
{# Текст последнего сообщени в чате (с размытием)#}
{{ ticket.name }}
{% if ticket.get_last_msg.text %}
{{ ticket.get_last_msg.text }}
{% elif ticket.get_last_msg.files %}
{{ ticket.get_last_msg.files.0.file_name }}
{% endif %}
</span>
</div>