paypal-express-in-context.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <div class="payment-method" css="_active: getCode() == isChecked()" afterRender="initListeners">
  8. <div class="payment-method-title field choice">
  9. <input type="radio"
  10. name="payment[method]"
  11. class="radio"
  12. attr="id: getCode()"
  13. ko-value="getCode()"
  14. ko-checked="isChecked"
  15. click="selectPaymentMethod"
  16. visible="isRadioButtonVisible()"/>
  17. <label attr="for: getCode()" class="label">
  18. <!-- PayPal Logo -->
  19. <img attr="src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')" class="payment-icon"/>
  20. <!-- PayPal Logo -->
  21. <span text="getTitle()"/>
  22. <a class="action action-help"
  23. attr="href: getPaymentAcceptanceMarkHref()"
  24. click="showAcceptanceWindow"
  25. translate="'What is PayPal?'"/>
  26. </label>
  27. </div>
  28. <div class="payment-method-content">
  29. <each args="getRegion('messages')" render=""/>
  30. <div class="checkout-agreements-block">
  31. <each args="$parent.getRegion('before-place-order')" render=""/>
  32. </div>
  33. <div class="actions-toolbar" attr="id: getButtonId()" afterRender="renderPayPalButtons"/>
  34. </div>
  35. </div>