This commit is contained in:
SBD
2023-12-03 13:18:49 +03:00
parent 38c08cbced
commit dd4ad82248
9 changed files with 9 additions and 9 deletions

View File

@@ -4,12 +4,12 @@
<h1>{% translate "Добро пожаловать:" %} <span class="user_first_name">{{ user.first_name }} {{ user.last_name }}</span> <span class="user_username" >({{ user.username }})</span></h1>
<div class="profile_prof"><img class="avatar_user_profile" {% if user.user_profile.avatar %}
src="{{ user.user_profile.avatar.url }}"
{% else %}src="{% static "img/svg/User.svg" %}"{% endif %} alt="">
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} alt="">
<div>
{# <div class="avatar_block">#}
{# <img class="avatar_user_profile" {% if user.user_profile.avatar %}#}
{# src="{{ user.user_profile.avatar.url }}"#}
{# {% else %}src="{% static "img/svg/User.svg" %}"{% endif %} >#}
{# {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} >#}
{# </div>#}
{# <div>{% translate "Статус:" %} {{ user.user_profile.get_account_type_display }}</div>#}
{# <div>#}