[fix] [hot] website product list make full urls

This commit is contained in:
Rushabh Mehta 2015-05-12 11:37:47 +05:30
parent 9cf1edc2c0
commit 73249551e8

View File

@ -1,6 +1,6 @@
{% from "erpnext/templates/includes/macros.html" import product_image_square %}
<a class="product-link" href="{{ route or page_name }}">
<a class="product-link" href="{{ (route or page_name)|with_leading_slash }}">
<div class="col-sm-2 col-xs-4 product-image-wrapper">
{{ product_image_square(website_image) }}
<div class="text-ellipsis inline-block small product-text">{{ item_name }}</div>