0.12.31 fix switch langs
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user