Skip to content

Commit

Permalink
OP-558 - update plugin to Sylius 2 - fix error in order template
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusz-rup committed Jan 14, 2025
1 parent 0b40f18 commit 9f22063
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% from '@SyliusAdmin/shared/helper/icon.html.twig' import icon %}
{#{% from '@SyliusAdmin/shared/helper/icon.html.twig' import icon %}#}
{% set resource = hookable_metadata.context.resource %}

<div class="col-12 col-md-auto ms-auto d-flex">
{% if resource.customer.fraudStatus != 'blacklisted' %}
<a class="btn btn-danger me-2"
href="{{ path('bitbag_sylius_blacklist_plugin_admin_order_mark_suspicious', {'orderId': resource.id}) }}">
{{ icon({ icon: 'warning', class: 'icon icon-tabler' }) }}
{{ ux_icon('tabler:alert-triangle', {'class': 'icon icon-tabler'}) }}
{{ 'bitbag_sylius_blacklist_plugin.ui.mark_suspicious'|trans }}
</a>
{% endif %}
Expand Down

0 comments on commit 9f22063

Please sign in to comment.