From 699652285117daa00765937e2bbc5f5b8d3b73a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Kr=C3=B3l?= Date: Tue, 6 Feb 2018 19:09:21 +0100 Subject: [PATCH] Adjust new Sylius plugin standards --- src/Resources/config/routing/bitbag_shipping_gateway.yml | 2 +- .../ShippingExport/Grid/Field/shippingExportLabel.html.twig | 2 +- src/Resources/views/ShippingExport/Grid/Field/state.html.twig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Resources/config/routing/bitbag_shipping_gateway.yml b/src/Resources/config/routing/bitbag_shipping_gateway.yml index b699c1a..d126a83 100644 --- a/src/Resources/config/routing/bitbag_shipping_gateway.yml +++ b/src/Resources/config/routing/bitbag_shipping_gateway.yml @@ -40,4 +40,4 @@ bitbag_admin_get_shipping_gateways: methods: [GET] defaults: _controller: bitbag.controller.shipping_gateway:getShippingGatewaysAction - template: BitBagShippingExportPlugin:ShippingGateway/Gateways:shippingGateways.html.twig + template: BitBagSyliusShippingExportPlugin:ShippingGateway/Gateways:shippingGateways.html.twig diff --git a/src/Resources/views/ShippingExport/Grid/Field/shippingExportLabel.html.twig b/src/Resources/views/ShippingExport/Grid/Field/shippingExportLabel.html.twig index 91c52d9..b33fa3f 100644 --- a/src/Resources/views/ShippingExport/Grid/Field/shippingExportLabel.html.twig +++ b/src/Resources/views/ShippingExport/Grid/Field/shippingExportLabel.html.twig @@ -1,5 +1,5 @@ {% if data.labelPath %} - {% include '@BitBagShippingExportPlugin/ShippingExport/Partial/_downloadShippingLabel.html.twig' %} + {% include '@BitBagSyliusShippingExportPlugin/ShippingExport/Partial/_downloadShippingLabel.html.twig' %} {% else %} {{ 'bitbag.ui.no_shipping_label'|trans }} diff --git a/src/Resources/views/ShippingExport/Grid/Field/state.html.twig b/src/Resources/views/ShippingExport/Grid/Field/state.html.twig index 6b318bb..0d3ef0a 100644 --- a/src/Resources/views/ShippingExport/Grid/Field/state.html.twig +++ b/src/Resources/views/ShippingExport/Grid/Field/state.html.twig @@ -1,7 +1,7 @@ {% set value = 'bitbag.ui.' ~ data.state %} {% if data.state == 'new' %} - {% include '@BitBagShippingExportPlugin/ShippingExport/Partial/_exportShipment.html.twig' %} + {% include '@BitBagSyliusShippingExportPlugin/ShippingExport/Partial/_exportShipment.html.twig' %} {% else %} {{ value|trans }} {% endif %}