Skip to content

Commit 49944ca

Browse files
committed
Formatting
1 parent 2076f4b commit 49944ca

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

view/adminhtml/templates/grid/table.phtml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,23 +133,25 @@ $state = $viewModel->getState();
133133
<?php foreach ($cellActions as $cellAction): ?>
134134
<li>
135135
<?php if ($cellAction->hasUrl()): ?>
136-
<a href="<?= /* @noEscape */ $cellAction->getUrl() ?>"><?= $escaper->escapeHtml(
137-
$cellAction->getLabel()
138-
) ?></a>
136+
<a href="<?= /* @noEscape */ $cellAction->getUrl() ?>">
137+
<?= $escaper->escapeHtml($cellAction->getLabel()) ?>
138+
</a>
139139
<?php endif; ?>
140+
140141
<?php if ($cellAction->hasJsMethod()): ?>
141142
<a
142143
data-id="<?= $item->getId() ?>"
143-
onClick="<?= /* @noEscape */ $cellAction->getJsMethod() ?>"><?= $escaper->escapeHtml(
144-
$cellAction->getLabel()
145-
) ?></a>
144+
onClick="<?= /* @noEscape */ $cellAction->getJsMethod() ?>"><
145+
<?= $escaper->escapeHtml( $cellAction->getLabel()) ?>
146+
</a>
146147
<?php endif; ?>
148+
147149
<?php if ($cellAction->hasAlpineMethod()): ?>
148150
<a
149151
data-id="<?= $item->getId() ?>"
150-
@click="<?= /* @noEscape */ $cellAction->getAlpineMethod() ?>"><?= $escaper->escapeHtml(
151-
$cellAction->getLabel()
152-
) ?></a>
152+
@click="<?= /* @noEscape */ $cellAction->getAlpineMethod() ?>">
153+
<?= $escaper->escapeHtml($cellAction->getLabel()) ?>
154+
</a>
153155
<?php endif; ?>
154156
</li>
155157
<?php endforeach; ?>

0 commit comments

Comments
 (0)