// Adding non integrated feature from the old theme to the new theme for the module blocklayered
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12095 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -23,9 +23,10 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if $category->id == 1 OR $nb_products == 0}{l s='There are no products.'}
|
||||
{if $category->id == 1 OR $nb_products == 0}
|
||||
{l s='There are no products.'}
|
||||
{else}
|
||||
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if}
|
||||
{$nb_products}
|
||||
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
|
||||
{$nb_products} 
|
||||
{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
|
||||
{/if}
|
||||
@@ -29,16 +29,15 @@
|
||||
|
||||
{if isset($category)}
|
||||
{if $category->id AND $category->active}
|
||||
<h1>{strip}{$category->name|escape:'htmlall':'UTF-8'}{/strip}</h1>
|
||||
<h1>
|
||||
{strip}
|
||||
{$category->name|escape:'htmlall':'UTF-8'}
|
||||
{$categoryNameComplement|escape:'htmlall':'UTF-8'}
|
||||
{/strip}
|
||||
</h1>
|
||||
|
||||
<div class="resumecat">
|
||||
{if $category->id == 1 OR $nb_products == 0}
|
||||
{l s='There are no products.'}
|
||||
{else}
|
||||
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
|
||||
{$nb_products} 
|
||||
{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
|
||||
{/if}
|
||||
<div class="resumecat category-product-count">
|
||||
{include file="$tpl_dir./category-count.tpl"}
|
||||
</div>
|
||||
|
||||
{if $scenes || $category->description}
|
||||
|
||||
Reference in New Issue
Block a user