[website] [product list] image clickable

This commit is contained in:
Rushabh Mehta
2013-04-01 12:12:47 +05:30
parent fe7a53bca3
commit 9f43fc50ad
2 changed files with 22 additions and 19 deletions

View File

@@ -1,10 +1,12 @@
<div class="span3">
<div style="height: 120px; overflow: hidden;">
{% if website_image %}
<a href="{{ page_name }}">
{%- if website_image -%}
<img class="product-image" style="width: 80%; margin: auto;" src="{{ website_image }}">
{% else %}
{%- else -%}
{% include 'html/product_missing_image.html' %}
{% endif %}
{%- endif -%}
</a>
</div>
<div style="height: 100px; overflow: hidden; font-size: 80%;">
<h4 style="margin-bottom: 2px;"><a href="{{ page_name }}">{{ item_name }}</a></h4>