brotherton-erpnext/erpnext/templates/includes/product_in_grid.html
2015-02-23 22:34:27 +05:30

9 lines
356 B
HTML

<a class="product-link" href="{{ route or page_name }}">
<div class="col-sm-2 product-image-wrapper">
<div class="product-image {% if not website_image -%}missing-image{%- endif %}"
{% if website_image -%} style="background-image: url({{ website_image }});" {%- endif %}>
</div>
<div class="product-text small">{{ item_name }}</div>
</div>
</a>