0.0.349
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
{% 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" %}
|
||||
{% 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" %}
|
||||
{% endwith %}
|
||||
{# <div>#}
|
||||
|
||||
@@ -9,7 +9,12 @@
|
||||
{% if page_type and page_type == 'profile' or not sel_page_name %}
|
||||
<span class="text_btn_profile">
|
||||
{% 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 %}
|
||||
{{ title }}
|
||||
{% if page_name == 'chat' or page_name == 'support' %}
|
||||
|
||||
Reference in New Issue
Block a user