{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Suppliers:'}{/capture}

{l s='Suppliers:'} {strip} {if $nbSuppliers == 0}{l s='There are no suppliers.'} {else} {if $nbSuppliers == 1} {l s='There is %d supplier.' sprintf=$nbSuppliers} {else} {l s='There are %d suppliers.' sprintf=$nbSuppliers} {/if} {/if} {/strip}

{if isset($errors) AND $errors} {include file="$tpl_dir./errors.tpl"} {else} {if $nbSuppliers > 0}
{if isset($supplier) && $supplier.nb_products > 0} {/if} {include file="./nbr-product-page.tpl"}
{include file="$tpl_dir./pagination.tpl"}
{assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbLi' value=$suppliers_list|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet}
{include file="$tpl_dir./pagination.tpl" paginationId='bottom'}
{/if} {/if}