0.12.31 fix switch langs

This commit is contained in:
SDE
2024-04-04 23:16:26 +03:00
parent 46fdda269f
commit c2d021a516
4 changed files with 23 additions and 13 deletions

View File

@@ -9,14 +9,14 @@
{% if page_type and page_type == 'profile' or not sel_page_name %}
{% if sel_page_name == 'logout' %}
<a href="/profile/logout/" class="text_btn_profile logout">
<a href="{% url "logout_profile" %}" class="text_btn_profile logout">
<span class="logout_span">
{% else %}
<span class="text_btn_profile">
{% endif %}
{% else %}
{% if sel_page_name == 'logout' %}
<a href="/profile/logout/" class="text_btn_profile logout">
<a href="{% url "logout_profile" %}" class="text_btn_profile logout">
<span class="logout_span">
{% elif sel_page_name != 'logoout' %}
<a onclick="changeHrefCl(this)" data-href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">