Complete registration, small update profile.html
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
.img{
|
||||
width:auto;
|
||||
height:auto;
|
||||
max-width:300px!important;
|
||||
max-height:500px!important;
|
||||
max-width:100px!important;
|
||||
max-height:100px!important;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
<div class="row">
|
||||
<div class="col-auto">
|
||||
<div class="container">
|
||||
{% if image_name %}
|
||||
<img src="{% static image_name %}" class="img img-thumbnail" alt="Аватар">
|
||||
{% if image_url %}
|
||||
<img src={{image_url}} class="img img-thumbnail" alt="Аватар">
|
||||
{% else %}
|
||||
<img src="{% static 'no_avatar.png' %}" class="img img-thumbnail" alt="Нет изображения">
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user