mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
[fix] [hot] website product list make full urls
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{% from "erpnext/templates/includes/macros.html" import product_image_square %}
|
{% 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">
|
<div class="col-sm-2 col-xs-4 product-image-wrapper">
|
||||||
{{ product_image_square(website_image) }}
|
{{ product_image_square(website_image) }}
|
||||||
<div class="text-ellipsis inline-block small product-text">{{ item_name }}</div>
|
<div class="text-ellipsis inline-block small product-text">{{ item_name }}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user