chat routines
This commit is contained in:
SDE
2023-08-08 16:09:16 +03:00
parent f62c603ad4
commit 014ccf8f45
3 changed files with 17 additions and 4 deletions

View File

@@ -7,8 +7,8 @@
{% else %}
{% for msg in messages %}
{% include "widgets/w_message.html" %}
{% if forloop.last %}
<span style="display: none" class="date_n_time_last_message" data-modifiedDT="{{ msg.modifiedDT }}"></span>
{% if forloop.first %}
<span style="display: none" class="date_n_time_last_message" data-modifiedDT="{{ msg.modifiedDT|date:"d.m.Y H:i:s:u" }}"></span>
{% endif %}
{% endfor %}
{% endif %}