From f62c603ad4e7675efe79a01c8fd53e08681f72ba Mon Sep 17 00:00:00 2001 From: borissedw Date: Tue, 8 Aug 2023 16:07:08 +0300 Subject: [PATCH] 0.0.74 --- templates/blocks/profile/b_chats.html | 13 +++---------- templates/widgets/w_carrier_card.html | 19 +++++++++++-------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/templates/blocks/profile/b_chats.html b/templates/blocks/profile/b_chats.html index 745a263..c6f5b37 100644 --- a/templates/blocks/profile/b_chats.html +++ b/templates/blocks/profile/b_chats.html @@ -69,16 +69,9 @@
Чаты:
- {% if tickets_wo_manager %} - {% for item in tickets_wo_manager %} - {% include "widgets/w_chat_right_panel_tickets.html" %} - {% endfor %} - {% else %} - {% for item in receivers %} - {% include "widgets/w_chat_right_panel_users.html" %} - {% endfor %} - {% endif %} - + {% for receiver in receivers %} + {% include "widgets/w_chat_right_panel_tickets.html" %} + {% endfor %}
diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index c0b405e..524cda7 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -33,23 +33,26 @@
- {{ route.phone }} + {{ route.phone }}
- - + {% if route.owner != user %} + + + {% endif %} +