parent
86feee5387
commit
c57c79534c
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
||||
{% load static %} |
||||
{% load thumbnail %} |
||||
|
||||
{% if obj.logo %} |
||||
{% thumbnail obj.logo "80x80" as im %} |
||||
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" class="pic" alt=""> |
||||
{% endthumbnail %} |
||||
{% else %} |
||||
<img src="{% static 'client/img/no-logo.png' %}" class="pic" alt="" /> |
||||
{% endif %} |
||||
Loading…
Reference in new issue