Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-11-18 18:38:58 +03:00

View File

@@ -7,12 +7,15 @@
<img class="svg" src="{{ img_path }}" />
{% if page_type and page_type == 'profile' or not sel_page_name %}
<span class="text_btn_profile">
{% else %}
{% if sel_page_name == 'logout' %}
<a href="/profile/logout/" class="text_btn_profile">
{% else %}
<span class="text_btn_profile">
{% endif %}
{% if sel_page_name != 'logout' %}
{% else %}
{% if sel_page_name != 'logoout' %}
<a href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">
{% endif %}
{% endif %}