<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <t t-name="mass_mailing.MobilePreviewDialog">
        <Dialog bodyClass="'o_mailing_mobile_preview'">
            <t t-set-slot="header" t-on-click="toggle">
                <div class="d-flex align-items-center justify-content-between flex w-100">
                    <h4 class="d-flex align-items-center justify-content-start">
                        <span class="modal-title text-break" t-esc="props.title"></span>
                        <span class="fa fa-refresh ms-3"></span>
                    </h4>
                    <div type="button" class="btn-close" aria-label="Close" t-on-click="props.close"/>
                </div>
            </t>
            <iframe t-ref="iframeRef" src="/mailing/mobile/preview" t-on-load="appendPreview"></iframe>
        </Dialog>
    </t>
</odoo>
