File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
app/code/Magento/Sales/view/frontend/templates/order/items/renderer Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,19 @@ $_item = $block->getItem();
16
16
<dt><?= $ block ->escapeHtml ($ _option ['label ' ]) ?> </dt>
17
17
<?php if (!$ block ->getPrintStatus ()) : ?>
18
18
<?php $ _formatedOptionValue = $ block ->getFormatedOptionValue ($ _option ) ?>
19
- <dd>
19
+ <dd<?= (isset ($ _formatedOptionValue ['full_view ' ]) ? ' class="tooltip wrapper" ' : '' ) ?> >
20
+ <?= $ block ->escapeHtml ($ _formatedOptionValue ['value ' ]) ?>
20
21
<?php if (isset ($ _formatedOptionValue ['full_view ' ])) : ?>
21
- <?= $ block ->escapeHtml ($ _formatedOptionValue ['full_view ' ], ['a ' ]) ?>
22
- <?php else : ?>
23
- <?= $ block ->escapeHtml ($ _formatedOptionValue ['value ' ], ['a ' ]) ?>
22
+ <div class="tooltip content">
23
+ <dl class="item options">
24
+ <dt><?= $ block ->escapeHtml ($ _option ['label ' ]) ?> </dt>
25
+ <dd><?= $ block ->escapeHtml ($ _formatedOptionValue ['full_view ' ]) ?> </dd>
26
+ </dl>
27
+ </div>
24
28
<?php endif ; ?>
25
29
</dd>
26
30
<?php else : ?>
27
- <dd>
28
- <?= /* @noEscape */ nl2br ($ block ->escapeHtml ($ _option ['print_value ' ] ?? $ _option ['value ' ])) ?>
29
- </dd>
31
+ <dd><?= $ block ->escapeHtml ((isset ($ _option ['print_value ' ]) ? $ _option ['print_value ' ] : $ _option ['value ' ])) ?> </dd>
30
32
<?php endif ; ?>
31
33
<?php endforeach ; ?>
32
34
</dl>
You can’t perform that action at this time.
0 commit comments