0.0.298
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
{% load static %}
|
||||
|
||||
<h1>Добро пожаловать: <span>{{ user.first_name }} {{ user.last_name }}</span> <span>({{ user.username }})</span></h1>
|
||||
<div class="profile_prof"><img class="avatar_profile" src="{{ user.user_profile.avatar }}" alt="">
|
||||
<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="">
|
||||
<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 %} >#}
|
||||
{# </div>#}
|
||||
<div>Статус: {{ user.user_profile.get_account_type_display }}</div>
|
||||
{# <div>#}
|
||||
{# <select name="" id="">#}
|
||||
|
||||
Reference in New Issue
Block a user