Skip to content

Commit 6bef438

Browse files
committed
B2B-272: Remove Ship To column, fix pagination selector
1 parent 72c74a2 commit 6bef438

File tree

1 file changed

+20
-20
lines changed
  • app/code/Magento/Theme/view/frontend/templates/html

1 file changed

+20
-20
lines changed

app/code/Magento/Theme/view/frontend/templates/html/pager.phtml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,33 @@
1010
* @see \Magento\Theme\Block\Html\Pager
1111
*/
1212
?>
13-
<?php if ($block->getCollection()->getSize()) : ?>
13+
<?php if ($block->getCollection()->getSize()): ?>
1414

15-
<?php if ($block->getUseContainer()) : ?>
15+
<?php if ($block->getUseContainer()): ?>
1616
<div class="pager">
1717
<?php endif ?>
1818

19-
<?php if ($block->getShowAmounts()) : ?>
19+
<?php if ($block->getShowAmounts()): ?>
2020
<p class="toolbar-amount">
2121
<span class="toolbar-number">
22-
<?php if ($block->getLastPageNum()>1) : ?>
22+
<?php if ($block->getLastPageNum()>1): ?>
2323
<?= $block->escapeHtml(
2424
__('Items %1 to %2 of %3 total', $block->getFirstNum(), $block->getLastNum(), $block->getTotalNum())
2525
) ?>
26-
<?php elseif ($block->getTotalNum() == 1) : ?>
26+
<?php elseif ($block->getTotalNum() == 1): ?>
2727
<?= $block->escapeHtml(__('%1 Item', $block->getTotalNum())) ?>
28-
<?php else : ?>
28+
<?php else: ?>
2929
<?= $block->escapeHtml(__('%1 Item(s)', $block->getTotalNum())) ?>
3030
<?php endif; ?>
3131
</span>
3232
</p>
3333
<?php endif ?>
3434

35-
<?php if ($block->getLastPageNum()>1) : ?>
35+
<?php if ($block->getLastPageNum()>1): ?>
3636
<div class="pages">
3737
<strong class="label pages-label" id="paging-label"><?= $block->escapeHtml(__('Page')) ?></strong>
3838
<ul class="items pages-items" aria-labelledby="paging-label">
39-
<?php if (!$block->isFirstPage()) : ?>
39+
<?php if (!$block->isFirstPage()): ?>
4040
<li class="item pages-item-previous">
4141
<?php $text = $block->getAnchorTextForPrevious() ? $block->getAnchorTextForPrevious() : '';?>
4242
<a class="<?= $block->escapeHtmlAttr($text ? 'link ' : 'action ') ?> previous"
@@ -48,7 +48,7 @@
4848
</li>
4949
<?php endif;?>
5050

51-
<?php if ($block->canShowFirst()) : ?>
51+
<?php if ($block->canShowFirst()): ?>
5252
<li class="item">
5353
<a class="page first" href="<?= $block->escapeUrl($block->getFirstPageUrl()) ?>">
5454
<span class="label"><?= $block->escapeHtml(__('Page')) ?></span>
@@ -57,7 +57,7 @@
5757
</li>
5858
<?php endif;?>
5959

60-
<?php if ($block->canShowPreviousJump()) : ?>
60+
<?php if ($block->canShowPreviousJump()): ?>
6161
<li class="item">
6262
<a class="page previous jump"
6363
title=""
@@ -67,15 +67,15 @@
6767
</li>
6868
<?php endif;?>
6969

70-
<?php foreach ($block->getFramePages() as $_page) : ?>
71-
<?php if ($block->isPageCurrent($_page)) : ?>
70+
<?php foreach ($block->getFramePages() as $_page): ?>
71+
<?php if ($block->isPageCurrent($_page)): ?>
7272
<li class="item current">
7373
<strong class="page">
7474
<span class="label"><?= $block->escapeHtml(__('You\'re currently reading page')) ?></span>
7575
<span><?= $block->escapeHtml($_page) ?></span>
7676
</strong>
7777
</li>
78-
<?php else : ?>
78+
<?php else: ?>
7979
<li class="item">
8080
<a href="<?= $block->escapeUrl($block->getPageUrl($_page)) ?>" class="page">
8181
<span class="label"><?= $block->escapeHtml(__('Page')) ?></span>
@@ -85,15 +85,15 @@
8585
<?php endif;?>
8686
<?php endforeach;?>
8787

88-
<?php if ($block->canShowNextJump()) : ?>
88+
<?php if ($block->canShowNextJump()): ?>
8989
<li class="item">
9090
<a class="page next jump" title="" href="<?= $block->escapeUrl($block->getNextJumpUrl()) ?>">
9191
<span>...</span>
9292
</a>
9393
</li>
9494
<?php endif;?>
9595

96-
<?php if ($block->canShowLast()) : ?>
96+
<?php if ($block->canShowLast()): ?>
9797
<li class="item">
9898
<a class="page last" href="<?= $block->escapeUrl($block->getLastPageUrl()) ?>">
9999
<span class="label"><?= $block->escapeHtml(__('Page')) ?></span>
@@ -102,7 +102,7 @@
102102
</li>
103103
<?php endif;?>
104104

105-
<?php if (!$block->isLastPage()) : ?>
105+
<?php if (!$block->isLastPage()): ?>
106106
<li class="item pages-item-next">
107107
<?php $text = $block->getAnchorTextForNext() ? $block->getAnchorTextForNext() : '';?>
108108
<a class="<?= /* @noEscape */ $text ? 'link ' : 'action ' ?> next"
@@ -117,13 +117,13 @@
117117
</div>
118118
<?php endif; ?>
119119

120-
<?php if ($block->isShowPerPage()) : ?>
120+
<?php if ($block->isShowPerPage()): ?>
121121
<div class="limiter">
122122
<strong class="limiter-label"><?= $block->escapeHtml(__('Show')) ?></strong>
123123
<select id="limiter" data-mage-init='{"redirectUrl": {"event":"change"}}' class="limiter-options">
124-
<?php foreach ($block->getAvailableLimit() as $_key => $_limit) : ?>
124+
<?php foreach ($block->getAvailableLimit() as $_key => $_limit): ?>
125125
<option value="<?= $block->escapeUrl($block->getLimitUrl($_key)) ?>"
126-
<?php if ($block->isLimitCurrent($_key)) : ?>
126+
<?php if ($block->isLimitCurrent($_key)): ?>
127127
selected="selected"<?php endif ?>>
128128
<?= $block->escapeHtml($_limit) ?>
129129
</option>
@@ -133,7 +133,7 @@
133133
</div>
134134
<?php endif ?>
135135

136-
<?php if ($block->getUseContainer()) : ?>
136+
<?php if ($block->getUseContainer()): ?>
137137
</div>
138138
<?php endif ?>
139139

0 commit comments

Comments
 (0)