|
|
|
@ -5,7 +5,7 @@
@@ -5,7 +5,7 @@
|
|
|
|
|
{% for p in products %} |
|
|
|
|
<div class="{{ class|default:"col-xs-6 col-md-3" }}"> |
|
|
|
|
<div class="thumbnail"> |
|
|
|
|
<img src="{% if p.image_thumbnail %}{{ p.image_thumbnail.url }}{% else %}{% static "images/no-image.png" %}{% endif %}" alt="{% trans "Product image" %}" style="width: 100%" /> |
|
|
|
|
<img src="{% if p.image_thumbnail %}{{ p.image_thumbnail.url }}{% else %}{% static "images/no-image.png" %}{% endif %}" class="product-thumbnail" alt="{% trans "Product image" %}" /> |
|
|
|
|
<div class="caption"> |
|
|
|
|
<h3>{{ p.name }}</h3> |
|
|
|
|
<h4>{{ p.price|floatformat:2 }} €</h4> |
|
|
|
|