oca-ocb-accounting/odoo-bringout-oca-ocb-account/account/static/src/components/mail_attachments/mail_attachments.xml
Ernad Husremovic 768b70e05e 19.0 vanilla
2026-03-09 09:30:07 +01:00

20 lines
920 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="account.mail_attachments">
<ul class="list-unstyled m-0">
<t t-foreach="renderedAttachments" t-as="attachment" t-key="attachment.id">
<t t-if="!attachment.skip">
<li class="d-flex align-items-center bg-200 p-1 ps-3 my-2">
<span t-out="attachment.name" class="flex-grow-1 text-truncate"/>
<button class="btn flex-shrink-0" t-on-click.stop="() => this.onFileRemove(attachment.id)">
<i class="fa fa-fw fa-times"/>
</button>
<i class="fa fa-fw o_button_icon fa-warning" t-if="attachment.tooltip" t-att-data-tooltip="attachment.tooltip"></i>
</li>
</t>
</t>
</ul>
</t>
</templates>