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 %} +