fet(extra-fetures): Pagination results text
Shows "12 van 15 resultaten" for example right acorss from the pagination
This commit is contained in:
@ -26,8 +26,12 @@
|
|||||||
|
|
||||||
{block name='pagination_page_list'}
|
{block name='pagination_page_list'}
|
||||||
{if $pagination.should_be_displayed}
|
{if $pagination.should_be_displayed}
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="results__block">
|
||||||
|
{l s='%curr_numer% van %total_items% resultaten' sprintf=['%curr_numer%' => $pagination.items_shown_to,'%total_items%' => $pagination.total_items] d='Shop.Theme.Actions'}
|
||||||
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pagination justify-content-center mt-4 mb-2">
|
<ul class="pagination justify-content-center m-0">
|
||||||
{foreach from=$pagination.pages item="page"}
|
{foreach from=$pagination.pages item="page"}
|
||||||
<li class="page-item{if $page.current} active{/if} {if $page.type === 'spacer'}disabled{/if}">
|
<li class="page-item{if $page.current} active{/if} {if $page.type === 'spacer'}disabled{/if}">
|
||||||
{if $page.type === 'spacer'}
|
{if $page.type === 'spacer'}
|
||||||
@ -59,5 +63,6 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
|
|||||||
Reference in New Issue
Block a user