<?xml version="1.0" encoding="UTF-8"?>
<templates id="mailing_contact_views" xml:space="preserve">
    <t t-name="MailingContactListView.buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary" owl="1">
        <xpath expr="//t[@t-if='props.showButtons']" position="inside">
            <button type="button" class="btn btn-secondary o_mass_mailing_import_contact" t-on-click="onImport">
                Import
            </button>
        </xpath>
    </t>

    <t t-name="MailingContactKanbanView.buttons" t-inherit="web.KanbanView.Buttons" t-inherit-mode="primary" owl="1">
        <xpath expr="//div[@t-if='props.showButtons']" position="inside">
            <button type="button" class="btn btn-secondary o_mass_mailing_import_contact" t-on-click="onImport">
                Import
            </button>
        </xpath>
    </t>
</templates>
