{% load static %}
<div class="tab_user_messanger{% if item.id == cur_receiver.id %} select{% endif %}" onclick="selectedUserMessenger(null,{{ item.id }})" data-cur-receiver-item="{{ item.id }}">
    <div class="left-part-tab-user">
        <img class="user_avatar_messenger" src="{% static "delete_later/Avatar.png" %}">
        <div class="status_user">
        </div>
    </div>
    <div class="center-part-tab-user">
        <span class="user_name_messenger">{{ item.last_name }} {{ item.first_name }}</span>
        <span class="last-message-messenger-user-tab">{{ item.last_msg }}</span>
    </div>
    {% if item.unread_msgs_count %}
        <div class="right-part-tab-user">
            <div class="cost-messages-in-user-tab-messenger"><span>{{ item.unread_msgs_count }}</span></div>
        </div>
    {% endif %}
</div>