This commit is contained in:
SBD
2023-11-29 20:34:01 +03:00
parent f7e032a5bc
commit 069f2094f0
4 changed files with 31 additions and 5 deletions

View File

@@ -50,9 +50,14 @@
{# </div>#}
{# </div>#}
{#</div>#}
<img class="loader_chat_f_sw_chats" src="{% static "/img/svg/loader.svg" %}" alt="loader">
{% if not cur_receiver %}
<div class="block_loader_chat">
<img class="loader_chat_f_sw_chats" src="{% static "/img/svg/loader.svg" %}" alt="loader">
</div>
{% endif %}
{% if cur_receiver %}
<div class="block-chat">
<div class="container-header-chat">
<div class="header-chat-left-part">
<img class="chat-avatar" {% if cur_receiver.user_profile.avatar %}src="{{ cur_receiver.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/User.svg" %}"{% endif %}>

View File

@@ -12,7 +12,6 @@
{# <div class="title-profile-cont">#}
{# <h1>Техническая поддержка</h1>#}
{# </div>#}
<img class="loader_chat_f_sw_chats support" src="{% static "/img/svg/loader.svg" %}" alt="loader">
{% if user.is_staff or staff %}
<div class="menu_buttons curtain left {% if mobile %}{% if not ticket %}open{% else %}close{% endif %}{% else %}open{% endif %}{% if name.ticket %}margin{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 0;' src='{% static "/img/svg/users-solid.svg" %}'>">
<div class="container_block_list_of_users">
@@ -26,6 +25,11 @@
</div>
</div>
{% endif %}
{% if not ticket %}
<div class="block_loader_chat">
<img class="loader_chat_f_sw_chats" src="{% static "/img/svg/loader.svg" %}" alt="loader">
</div>
{% endif %}
{% if ticket %}
<div class="name_ticket {% if not user.is_staff and not staff %}w_100{% endif %}">
<span>{{ ticket.name }}</span>