-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DX][Twig] Extract even more templates
- Loading branch information
Showing
3 changed files
with
26 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% import '@SyliusAdmin/Common/Macro/money.html.twig' as money %} | ||
|
||
<div class="ui stackable grid"> | ||
<div class="two column row"> | ||
<div class="column"> | ||
{% include '@SyliusRefundPlugin/_navigation.html.twig' %} | ||
</div> | ||
<div class="column"> | ||
<div class="ui right aligned basic segment"> | ||
<h3 id="refunded-total"> | ||
{{ 'sylius_refund.ui.refunded_total'|trans }}: | ||
{{ money.format(order_refunded_total(order.number), order.currencyCode) }} | ||
</h3> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="ui buttons"> | ||
<button id="page-button" class="ui labeled icon primary button" type="submit"> | ||
<i class="check icon"></i>{{ 'sylius.ui.refund'|trans }} | ||
</button> | ||
<a id="back" href="{{ path('sylius_admin_order_show', {'id': order.id}) }}" class="ui button"> | ||
{{ 'sylius.ui.back'|trans }} | ||
</a> | ||
</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