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

Commit

Permalink
[HEIDELPAY-121] Improve loading of external resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Gödde committed Sep 13, 2019
1 parent d849a3e commit bdd5f5e
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 bdd5f5e

Please sign in to comment.