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 %}
{# boris changed #}
<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 }}">#}
<span class="btn_profile_name">
@@ -90,21 +90,18 @@
{% endif %}
{% if not user.is_authenticated %}
<div class="header_buttons">
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="enter_button"
href="{% url "login_profile" %}">
Войти
</a>
</div>
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="enter_button"
href="{% url "login_profile" %}">
Войти
</a>
<div class="button_profile_header_mobile" onclick="show_header_list()">
<img src="/static/img/svg/userMobile.svg" alt="">