enables to display profile without pictures
This commit is contained in:
parent
715566db8a
commit
414a1c8fe9
1 changed files with 2 additions and 0 deletions
|
@ -2,7 +2,9 @@
|
|||
{% block content %}
|
||||
<div>
|
||||
<div style="width:200px;height:200px;overflow:hidden;" >
|
||||
{% if profile.picture %}
|
||||
<img src="{{ profile.picture.url }}" width="200px" height="auto"/>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<h3>{{ profile.full_name }}
|
||||
|
|
Loading…
Reference in a new issue