Fix user avatar in header

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent 8335829b42
commit 89b15b5797
  1. 2
      project/templates/blocks/header.html

@ -63,7 +63,7 @@
{% thumbnail request.user.photo "48x48" crop="center" as im %}
<img class="ava__pic" src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
{% empty %}
<img class="ava__pic" src="{% static 'img/user_default.png' %}" width="48px" height="48px" />
<img class="ava__pic" src="{% static 'img/user_default.jpg' %}" width="48px" height="48px" />
{% endthumbnail %}
</div>
<div class="header__drop">

Loading…
Cancel
Save