Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3 from heidelpay/feature/HEIDELPAY-121
Browse files Browse the repository at this point in the history
[HEIDELPAY-121] Improve loading of external resources
  • Loading branch information
Sascha authored Sep 23, 2019
2 parents b46eb16 + 08af218 commit bd01f53
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/Resources/views/storefront/base.html.twig

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% block heidelpay_base_js_library %}
<script type="text/javascript" src="https://static.heidelpay.com/v1/heidelpay.js"></script>
{% endblock %}

{% block heidelpay_base_style_sheet %}
<link rel="stylesheet" href="https://static.heidelpay.com/v1/heidelpay.css" />
{% endblock %}
7 changes: 0 additions & 7 deletions src/Resources/views/storefront/layout/meta.html.twig

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
{% block page_checkout_confirm_product_table %}
{% if context.paymentMethod.customFields.heidelpay_frame %}
{% block heidelpay_checkout_confirm_frame %}
{% sw_include '@Storefront/component/heidelpay/base/heidelpay-library.html.twig' %}

{% block page_checkout_heidelpay_form_elements %}
<input type="hidden" id="heidelpayResourceId" name="heidelpayResourceId" form="confirmOrderForm">
{% endblock %}
Expand Down

0 comments on commit bd01f53

Please sign in to comment.