additional.phtml 602 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. ?>
  7. <?php if ($block->getCustomerId()) :?>
  8. <span>
  9. <a <?= /* @escapeNotVerified */ $block->getLinkAttributes()?>><?= $block->escapeHtml(__('Not you?'));?></a>
  10. </span>
  11. <?php endif;?>
  12. <script type="application/javascript">
  13. window.persistent = <?= /* @noEscape */ $block->getConfig(); ?>;
  14. </script>
  15. <script type="text/x-magento-init">
  16. {
  17. "li.greet.welcome > span.not-logged-in": {
  18. "Magento_Persistent/js/view/additional-welcome": {}
  19. }
  20. }
  21. </script>