first commit
This commit is contained in:
21
web/templates/kupkolo/category.ajax.tpl
Normal file
21
web/templates/kupkolo/category.ajax.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
{if count($body.productsList) gt 0}
|
||||
{if $body.pager.count > 1 || isAjax()}
|
||||
<div class="pager-top" data-reload="pager-top">
|
||||
{include "block.pager.tpl" pager=$body.pager}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div data-reload="products">
|
||||
{include "block.products.tpl" products=$body.productsList}
|
||||
|
||||
{if $body.pager.count > 1}
|
||||
{include "block.pager.tpl" pager=$body.pager}
|
||||
{/if}
|
||||
</div>
|
||||
{else}
|
||||
<div data-reload="products">
|
||||
<div class="alert alert-info" role="alert">
|
||||
Žádný produkt
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user