Skip to content

Commit

Permalink
Adjust new Sylius plugin standards
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbager committed Feb 6, 2018
1 parent 04b2e71 commit 6996522
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Resources/config/routing/bitbag_shipping_gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if data.labelPath %}
{% include '@BitBagShippingExportPlugin/ShippingExport/Partial/_downloadShippingLabel.html.twig' %}
{% include '@BitBagSyliusShippingExportPlugin/ShippingExport/Partial/_downloadShippingLabel.html.twig' %}
{% else %}
<span class="ui label">
{{ 'bitbag.ui.no_shipping_label'|trans }}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 %}
<span class="shipping-export-state ui green label"><i class="check icon"></i> {{ value|trans }}</span>
{% endif %}

0 comments on commit 6996522

Please sign in to comment.