Source

satchmo-imagekit / satchmo / apps / satchmo_ext / recentlist / templates / recentlist / _recently_viewed.html

Full commit
{% load i18n %}
{% if recent_products %}
<div class="recentview">
<h3>{% trans 'Recently Viewed' %}</h3>
{% for item in recent_products %}
<a href="{{ item.get_absolute_url }}" class="recentitem item-{{forloop.counter0}}">
    {% with item.main_image.thumbnail_image as image %}
    <img src="{{ image.url }}" width="{{ image.width }}" height="{{ image.height }}" alt="{{ item.translated_name }}" />
    {% endwith %}
    <span style="display:block">{{ item.translated_name }}</span>
</a>
{% endfor %}
</div>
{% endif %}