enables to display profile without pictures

This commit is contained in:
Ju Luiselli 2020-02-19 20:46:01 +00:00
parent 715566db8a
commit 414a1c8fe9

View file

@ -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 }}