chat routines
This commit is contained in:
SDE
2023-08-02 17:44:11 +03:00
parent 76112fab8e
commit e34a841264
5 changed files with 24 additions and 14 deletions

View File

@@ -29,12 +29,12 @@
{% endif %}
<div class="container-messages">
{% if not ticket.rel_messages_for_group.all %}
{% if not messages %}
{% with text=ticket.text modifiedDT=ticket.modifiedDT %}
{% include "widgets/w_message.html" %}
{% endwith %}
{% else %}
{% for msg in ticket.rel_messages_for_group.all %}
{% for msg in messages %}
{% with text=msg.text modifiedDT=msg.modifiedDT %}
{% include "widgets/w_message.html" %}
{% endwith %}