-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
95 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
tests/Application/templates/bundles/SyliusAdminBundle/Customer/_form.html.twig
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...on/templates/bundles/SyliusAdminBundle/customer/form/sections/extra_information.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="col-12 col-md-6"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<div class="card-title"> | ||
{{ 'sylius.ui.extra_information'|trans }} | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
{% hook 'extra_information' %} | ||
{{ form_row(hookable_metadata.context.form.fraudStatus) }} | ||
</div> | ||
</div> | ||
</div> |
20 changes: 20 additions & 0 deletions
20
...mplates/bundles/SyliusAdminBundle/order/show/content/header/title_block/actions.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% 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' }) }} | ||
{{ 'bitbag_sylius_blacklist_plugin.ui.mark_suspicious'|trans }} | ||
</a> | ||
{% endif %} | ||
<div class="dropdown drop"> | ||
<button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> | ||
{{ 'sylius.ui.actions'|trans }} | ||
</button> | ||
<div class="dropdown-menu dropdown-menu-end"> | ||
{% hook 'actions' with { resource } %} | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.