This commit is contained in:
2023-11-11 15:30:32 +03:00
parent 95c3c062fd
commit 335af09596
3 changed files with 11 additions and 4 deletions

View File

@@ -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' %}