Save
This commit is contained in:
@@ -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">…</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"></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"></i>{l s='Previous' d='Shop.Theme.Actions'} *}
|
||||
{elseif $page.type === 'next'}
|
||||
{l s='Next' d='Shop.Theme.Actions'}<i class="material-icons"></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"></i> *}
|
||||
{else}
|
||||
{$page.page}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user