This commit is contained in:
2023-08-28 14:52:18 +03:00
parent 0e810aa790
commit 3b615607a9
2 changed files with 18 additions and 9 deletions

View File

@@ -491,6 +491,10 @@ header>div>a {
text-align: center;
padding-top: 8px;
padding-bottom: 8px;
min-height: 29px;
}
header>div>a>span{
vertical-align: middle;
}
header>div>div>a {

View File

@@ -30,20 +30,25 @@
</div>
<div><img class="svg" src="/static/img/svg/Helpdesk_%20Icon.svg"><a href="#">Служба поддержки</a></div>
{% if user.is_authenticated %}
<a class="button_profile_header" data-user-id="{{ user.id }}"
href="{% url "user_profile" %}">
{{ user.first_name }} {{ user.last_name }}
</a>
<a class="button_profile_header" data-user-id="{{ user.id }}"
href="{% url "user_profile" %}">
<span>
{{ user.first_name }} {{ user.last_name }}
</span>
</a>
{% endif %}
{% if not user.is_authenticated %}
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="enter_button"