0.0.76 add btn profile

This commit is contained in:
2023-08-09 13:41:56 +03:00
parent f8ed2b6fd2
commit a80ecaa473
4 changed files with 98 additions and 24 deletions

View File

@@ -9,7 +9,29 @@
<div>
<div><a href="#"><img src="/static/img/png/ru.png" alt=""></a></div>
<div><img class="svg" src="/static/img/svg/Helpdesk_%20Icon.svg"><a href="#">Служба поддержки</a></div>
<a href="{% url "registration_page" %}">Регистрация</a>
<a href="{% url "login_profile" %}">Войти</a>
{% if user.is_authenticated %}
<a
href="{% url "user_profile" %}">
Профиль
</a>
{% endif %}
{% if not user.is_authenticated %}
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="enter_button"
href="{% url "login_profile" %}">
Войти
</a>
{% endif %}
</div>
</header>