This commit is contained in:
2023-11-06 13:03:14 +03:00
parent 6ea03098b2
commit e75dd6c552

View File

@@ -60,7 +60,7 @@
{% if user.is_authenticated %} {% if user.is_authenticated %}
{# boris changed #} {# boris changed #}
<div class="cont_header_btn_profile"> <div class="cont_header_btn_profile">
<div class="button_profile_header" data-user-id="{{ user.id }}"> <div class="button_profile_header" {% if not page.type == 'profile' %}onclick="open_curtain(null,'right')"{% endif %} data-user-id="{{ user.id }}">
{# <div class="button_profile_header" onclick="open_curtain(null,'right')" data-user-id="{{ user.id }}">#} {# <div class="button_profile_header" onclick="open_curtain(null,'right')" data-user-id="{{ user.id }}">#}
<span class="btn_profile_name"> <span class="btn_profile_name">
@@ -90,21 +90,18 @@
{% endif %} {% endif %}
{% if not user.is_authenticated %} {% if not user.is_authenticated %}
<div class="header_buttons">
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a <a
class="enter_button" class="registration_button"
href="{% url "login_profile" %}"> href="{% url "registration_page" %}">
Войти Регистрация
</a> </a>
</div>
<a
class="enter_button"
href="{% url "login_profile" %}">
Войти
</a>
<div class="button_profile_header_mobile" onclick="show_header_list()"> <div class="button_profile_header_mobile" onclick="show_header_list()">
<img src="/static/img/svg/userMobile.svg" alt=""> <img src="/static/img/svg/userMobile.svg" alt="">