// Fix #PSCFV-4091
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17383 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
<div id="productscategory_list">
|
||||
<ul {if count($categoryProducts) > 5}style="width: {math equation="width * nbImages" width=107 nbImages=$categoryProducts|@count}px"{/if}>
|
||||
{foreach from=$categoryProducts item='categoryProduct' name=categoryProduct}
|
||||
{if count($categoryProducts) < 6}style="width: {math equation="width / nbImages" width=94 nbImages=$categoryProducts|@count}%"{/if}
|
||||
<li>
|
||||
<li {if count($categoryProducts) < 6}style="width: {math equation="width / nbImages" width=94 nbImages=$categoryProducts|@count}%"{/if}>
|
||||
<a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)}" class="lnk_img" title="{$categoryProduct.name|htmlspecialchars}"><img src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'medium')}" alt="{$categoryProduct.name|htmlspecialchars}" /></a>
|
||||
<p class="product_name">
|
||||
<a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)}" title="{$categoryProduct.name|htmlspecialchars}">{$categoryProduct.name|truncate:15:'...'|escape:'htmlall':'UTF-8'}</a>
|
||||
|
||||
Reference in New Issue
Block a user