0.0.349
This commit is contained in:
@@ -791,8 +791,8 @@ function closeOverlay () {
|
|||||||
// nothing to do
|
// nothing to do
|
||||||
} else {
|
} else {
|
||||||
let overlay = document.querySelector(".block_overlay")
|
let overlay = document.querySelector(".block_overlay")
|
||||||
overlay.classList.toggle('hidden')
|
overlay.classList.add('hidden')
|
||||||
overlay.classList.toggle('show')
|
overlay.classList.remove('show')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -816,6 +816,8 @@ function getInfoCurtain (curtain,zIndex,name) {
|
|||||||
let type_curt = getTypeOfData(curtain)
|
let type_curt = getTypeOfData(curtain)
|
||||||
if (curtain[0] && type_curt === 'object'){
|
if (curtain[0] && type_curt === 'object'){
|
||||||
curtain_f_w = curtain[0]
|
curtain_f_w = curtain[0]
|
||||||
|
} else {
|
||||||
|
curtain_f_w = curtain
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
{% with sel_page_name='change_profile' ajax_url="change_profile" title="Мой профиль" img_path="/static/img/svg/User.svg"%}
|
{% with sel_page_name='change_profile' ajax_url="change_profile" title="Мой профиль" img_path="/static/img/svg/User.svg"%}
|
||||||
{% include "widgets/profile/w_button_for_profile_menu.html" %}
|
{% include "widgets/profile/w_button_for_profile_menu.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% with sel_page_name='create_route_for_mover' title="Выход"%}
|
{% with sel_page_name='create_route_for_mover' sel_page_name='logout' title="Выход"%}
|
||||||
{% include "widgets/profile/w_button_for_profile_menu.html" %}
|
{% include "widgets/profile/w_button_for_profile_menu.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{# <div>#}
|
{# <div>#}
|
||||||
|
|||||||
@@ -9,7 +9,12 @@
|
|||||||
{% if page_type and page_type == 'profile' or not sel_page_name %}
|
{% if page_type and page_type == 'profile' or not sel_page_name %}
|
||||||
<span class="text_btn_profile">
|
<span class="text_btn_profile">
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">
|
{% if sel_page_name == 'logout' %}
|
||||||
|
<a href="{% url "profile" sel_page_name %}" class="text_btn_profile">
|
||||||
|
{% endif %}
|
||||||
|
{% if sel_page_name != 'logoout' %}
|
||||||
|
<a href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ title }}
|
{{ title }}
|
||||||
{% if page_name == 'chat' or page_name == 'support' %}
|
{% if page_name == 'chat' or page_name == 'support' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user