<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
<div class="checkout-success">
    <?php if ($block->getOrderId()):?>
        <p>
            <?= /* @escapeNotVerified */ __('We\'ll email you shortly with your order confirmation details and all your personal tracking info. Your order reference number is:') ?><br/>
            <?php if ($block->getCanViewOrder()) :?>
                <a href="<?php echo $block->escapeHtml($block->getViewOrderUrl()); ?>" class="order-number">
                    <?php echo $block->escapeHtml($block->getOrderId()); ?>
                </a>
            <?php else :?>
                <span class="order-number">
                    <?php echo $block->escapeHtml($block->getOrderId()); ?>
                </span>
            <?php endif;?>
        </p>
    <?php endif;?>

    <div class="actions-toolbar">
        <div class="primary">
            <a class="action continue" href="<?= /* @escapeNotVerified */ $block->getContinueUrl() ?>"><span><?= /* @escapeNotVerified */ __('Continue Shopping') ?></span></a>
        </div>
        <div class="secondary">
            <?= $block->getChildHtml('checkout.success.print.button') ?>
        </div>
    </div>
    <?= $block->getAdditionalInfoHtml() ?>
</div>
