This commit is contained in:
Roman Pyrih
2024-11-21 15:57:25 +01:00
parent d6060a1695
commit 92c7691d79
13 changed files with 7663 additions and 7040 deletions

View File

@@ -23,20 +23,21 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<nav class="pagination">
<div class="col-md-4">
{* <div class="col-md-4 123">
{block name='pagination_summary'}
{l s='Showing %from%-%to% of %total% item(s)' d='Shop.Theme.Catalog' sprintf=['%from%' => $pagination.items_shown_from ,'%to%' => $pagination.items_shown_to, '%total%' => $pagination.total_items]}
{/block}
</div>
</div> *}
<div class="col-md-6 offset-md-2 pr-0">
{* <div class="col-md-6 offset-md-2 pr-0"> *}
<div class="col-xs-12">
{block name='pagination_page_list'}
{if $pagination.should_be_displayed}
<ul class="page-list clearfix text-sm-center">
{foreach from=$pagination.pages item="page"}
<li {if $page.current} class="current" {/if}>
<li class="pagination-item {if $page.current}current{/if} {if $page.type === 'previous'}prev{elseif $page.type === 'next'}next{/if}">
{if $page.type === 'spacer'}
<span class="spacer">&hellip;</span>
{else}
@@ -46,9 +47,15 @@
class="{if $page.type === 'previous'}previous {elseif $page.type === 'next'}next {/if}{['disabled' => !$page.clickable, 'js-search-link' => true]|classnames}"
>
{if $page.type === 'previous'}
<i class="material-icons">&#xE314;</i>{l s='Previous' d='Shop.Theme.Actions'}
<span>
<img src="/img/cms/icons/mini-arrow-left.svg" alt="{l s='Previous' d='Shop.Theme.Actions'}">
</span>
{* <i class="material-icons">&#xE314;</i>{l s='Previous' d='Shop.Theme.Actions'} *}
{elseif $page.type === 'next'}
{l s='Next' d='Shop.Theme.Actions'}<i class="material-icons">&#xE315;</i>
<span>
<img src="/img/cms/icons/mini-arrow-left.svg" alt="{l s='Next' d='Shop.Theme.Actions'}">
</span>
{* {l s='Next' d='Shop.Theme.Actions'}<i class="material-icons">&#xE315;</i> *}
{else}
{$page.page}
{/if}