You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
618 B
Smarty

{{{ if children.length }}}
<div class="subcategory">
{{{ if hasMoreSubCategories }}}
<div><!-- IMPORT partials/category-selector.tpl --></div>
{{{ else }}}
<p>[[category:subcategories]]</p>
{{{ end }}}
<ul component="category/subcategory/container" class="categories" itemscope itemtype="http://www.schema.org/ItemList">
{{{each children}}}
<!-- IMPORT partials/categories/item.tpl -->
{{{end}}}
</ul>
{{{ if hasMoreSubCategories}}}
<button class="btn btn-default" component="category/load-more-subcategories">[[category:x-more-categories, {subCategoriesLeft}]]</button>
{{{ end }}}
</div>
{{{ end }}}