Skip to content

Commit

Permalink
Snake case file to match other twig files
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Jun 28, 2024
1 parent da68874 commit 1f2d432
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/SetonoSyliusOrderEditExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function prepend(ContainerBuilder $container): void
$container->prependExtensionConfig('sylius_grid', [
'templates' => [
'action' => [
'edit_order' => '@SetonoSyliusOrderEditPlugin/admin/order/grid/editOrder.html.twig',
'edit_order' => '@SetonoSyliusOrderEditPlugin/admin/order/grid/edit_order.html.twig',
],
],
]);
Expand Down
5 changes: 0 additions & 5 deletions src/Resources/views/admin/order/grid/editOrder.html.twig

This file was deleted.

5 changes: 5 additions & 0 deletions src/Resources/views/admin/order/grid/edit_order.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% if data.shippingState == constant('Sylius\\Component\\Core\\OrderShippingStates::STATE_READY') %}
<a class="ui labeled icon purple button " href="{{ path(options.link.route, options.link.parameters) }}">
<i class="icon pencil"></i> {{ 'sylius.ui.edit'|trans }}
</a>
{% endif %}

0 comments on commit 1f2d432

Please sign in to comment.