From 5b9d311b063d32f23db336abfe8c8e8661591245 Mon Sep 17 00:00:00 2001 From: borissedw Date: Fri, 11 Aug 2023 13:56:06 +0300 Subject: [PATCH] 0.0.103 --- .../b_list_of_tickets_support_chat.html | 19 +++++++++++++++++++ templates/blocks/profile/b_support_chat.html | 18 +----------------- 2 files changed, 20 insertions(+), 17 deletions(-) create mode 100644 templates/blocks/profile/b_list_of_tickets_support_chat.html diff --git a/templates/blocks/profile/b_list_of_tickets_support_chat.html b/templates/blocks/profile/b_list_of_tickets_support_chat.html new file mode 100644 index 0000000..c901d5e --- /dev/null +++ b/templates/blocks/profile/b_list_of_tickets_support_chat.html @@ -0,0 +1,19 @@ +{% load static %} + +Неразобранные тикеты +
+ {% if tickets_wo_manager %} + {% for item in tickets_wo_manager %} + {% include "widgets/w_chat_right_panel_tickets.html" %} + {% endfor %} + {% endif %} + +
+
+ Тикеты в работе + {% if tickets_for_manager %} + {% for item in tickets_for_manager %} + {% include "widgets/w_chat_right_panel_tickets.html" %} + {% endfor %} + {% endif %} +
\ No newline at end of file diff --git a/templates/blocks/profile/b_support_chat.html b/templates/blocks/profile/b_support_chat.html index 4bd358a..88cb3a6 100644 --- a/templates/blocks/profile/b_support_chat.html +++ b/templates/blocks/profile/b_support_chat.html @@ -60,23 +60,7 @@ {% endif %} {% if user.is_staff %}
- Неразобранные тикеты -
- {% if tickets_wo_manager %} - {% for item in tickets_wo_manager %} - {% include "widgets/w_chat_right_panel_tickets.html" %} - {% endfor %} - {% endif %} - -
-
- Тикеты в работе - {% if tickets_for_manager %} - {% for item in tickets_for_manager %} - {% include "widgets/w_chat_right_panel_tickets.html" %} - {% endfor %} - {% endif %} -
+ {% include "blocks/profile/b_list_of_tickets_support_chat.html" %}
{% endif %}