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}

+{/if}