From f565b273d883f9ceaf83457bd0af845ccefc55ab Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 31 Oct 2013 15:13:46 +0100 Subject: [PATCH] // Reverting the revert --- .../modules/blockcategories/blockcategories.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/default-bootstrap/modules/blockcategories/blockcategories.tpl b/themes/default-bootstrap/modules/blockcategories/blockcategories.tpl index d2e0e05f8..d0b731f0a 100644 --- a/themes/default-bootstrap/modules/blockcategories/blockcategories.tpl +++ b/themes/default-bootstrap/modules/blockcategories/blockcategories.tpl @@ -24,8 +24,9 @@ *} +{if $blockCategTree && $blockCategTree.children|@count}
-

{l s='Categories' mod='blockcategories'}

+

{if isset($currentCategory)}{$currentCategory->name|escape}{else}{l s='Categories' mod='blockcategories'}{/if}

    {foreach from=$blockCategTree.children item=child name=blockCategTree} @@ -45,4 +46,5 @@
+{/if}