first commit
This commit is contained in:
21
themes/ayon_/templates/customer/_partials/block-address.tpl
Normal file
21
themes/ayon_/templates/customer/_partials/block-address.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
{block name='address_block_item'}
|
||||
<article id="address-{$address.id}" class="address" data-id-address="{$address.id}">
|
||||
<div class="address-body">
|
||||
<h4>{$address.alias}</h4>
|
||||
<address>{$address.formatted nofilter}</address>
|
||||
</div>
|
||||
|
||||
{block name='address_block_item_actions'}
|
||||
<div class="address-footer">
|
||||
<a href="{url entity=address id=$address.id}" data-link-action="edit-address">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><polygon points="16 3 21 8 8 21 3 21 3 16 16 3"></polygon></svg></i>
|
||||
<span>{l s='Update' d='Shop.Theme.Actions'}</span>
|
||||
</a>
|
||||
<a href="{url entity=address id=$address.id params=['delete' => 1, 'token' => $token]}" data-link-action="delete-address">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trash-2"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></svg></i>
|
||||
<span>{l s='Delete' d='Shop.Theme.Actions'}</span>
|
||||
</a>
|
||||
</div>
|
||||
{/block}
|
||||
</article>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user