remotes/origin/1203
Назар Котюк 11 years ago
parent 86feee5387
commit c57c79534c
  1. 10
      templates/client/includes/article/news_on_main.html

@ -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…
Cancel
Save