0.0.85
This commit is contained in:
@@ -98,10 +98,14 @@ function success_check_new_messages (data) {
|
|||||||
document.querySelector(".container-messages").innerHTML = data.html;
|
document.querySelector(".container-messages").innerHTML = data.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (data.upd_right_panel === true){
|
||||||
|
document.querySelector(".block-list-of-users")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (data.required_beep === true){
|
if (data.required_beep === true){
|
||||||
const beep = new Audio('/static/sounds/beep.MP3')
|
const beep = new Audio('/static/sounds/beep_2.mp3')
|
||||||
beep.play()
|
beep.play()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
static/sounds/beep_2.mp3
Normal file
BIN
static/sounds/beep_2.mp3
Normal file
Binary file not shown.
@@ -67,11 +67,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="block-list-of-users">
|
<div class="block-list-of-users">
|
||||||
<span class="title-list-of-users">Чаты:</span>
|
{% include "blocks/profile/b_list_of_users_messenger.html" %}
|
||||||
<div class="insert_users">
|
|
||||||
{% for item in receivers %}
|
|
||||||
{% include "widgets/w_chat_right_panel_users.html" %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
8
templates/blocks/profile/b_list_of_users_messenger.html
Normal file
8
templates/blocks/profile/b_list_of_users_messenger.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{% load static %}
|
||||||
|
|
||||||
|
<span class="title-list-of-users">Чаты:</span>
|
||||||
|
<div class="insert_users">
|
||||||
|
{% for item in receivers %}
|
||||||
|
{% include "widgets/w_chat_right_panel_users.html" %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user