File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Checkout Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Error!,Error!
62
62
"DB exception","DB exception"
63
63
"Wrong minimum amount.","Wrong minimum amount."
64
64
Message,Message
65
- "<a href=""%1"" onclick=""this.target=\'_blank\'"" class=""print""> Print receipt</a> ","<a href=""%1"" onclick=""this.target=\'_blank\'"" class=""print""> Print receipt</a> "
65
+ "Print receipt","Print receipt"
66
66
"Apply Discount Code","Apply Discount Code"
67
67
"Enter discount code","Enter discount code"
68
68
"Apply Discount","Apply Discount"
Original file line number Diff line number Diff line change 10
10
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
11
11
12
12
<?php if ($ block ->getCanViewOrder () && $ block ->getCanPrintOrder ()) :?>
13
- <?php /* @escapeNotVerified */ echo __ ('<a href="%1" onclick="this.target= \'_blank \'" class="print">Print receipt</a> ' , $ block ->getPrintUrl ()) ?>
13
+ <a href="<?php /* @escapeNotVerified */ echo $ block ->getPrintUrl () ?> " target="_blank" class="print">
14
+ <?php /* @escapeNotVerified */ echo __ ('Print receipt ' ) ?>
15
+ </a>
14
16
<?php echo $ block ->getChildHtml () ?>
15
17
<?php endif ;?>
You can’t perform that action at this time.
0 commit comments