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