File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ Type,Type
11
11
ending,ending
12
12
Actions,Actions
13
13
Delete,Delete
14
- "PayPal Account","PayPal Account"
14
+ "Account","Account"
15
15
Cancel,Cancel
16
16
"Are you sure you want to delete this card: %1?","Are you sure you want to delete this card: %1?"
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
/** @var \Magento\Vault\Block\Customer\AccountTokens $block */
8
+ /** @var $escaper \Magento\Framework\Escaper */
8
9
$ tokens = $ block ->getPaymentTokens ();
9
10
?>
10
- <?php if (count ($ tokens ) !== 0 ) : ?>
11
+ <?php if (count ($ tokens ) !== 0 ): ?>
11
12
<div class="table-wrapper my-credit-cards">
12
13
<table class="data table table-credit-cards" id="token-list-table">
13
14
<thead>
14
15
<tr>
15
- <th scope="col" class="col"><?= $ block ->escapeHtml (__ ('PayPal Account ' )) ?> </th>
16
+ <th scope="col" class="col"><?= $ escaper ->escapeHtml (__ ('Account ' )) ?> </th>
16
17
<th scope="col" class="col actions"> </th>
17
18
</tr>
18
19
</thead>
19
20
<tbody>
20
- <?php foreach ($ tokens as $ token ) : ?>
21
+ <?php foreach ($ tokens as $ token ): ?>
21
22
<?= /* @noEscape */ $ block ->renderTokenHtml ($ token ) ?>
22
23
<?php endforeach ; ?>
23
24
</tbody>
You can’t perform that action at this time.
0 commit comments