<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

<t t-name="im_livechat.LivechatLeaveDialog">
    <Dialog size="'md'" title="title" contentClass="'o-bg-body'">
        <p class="mx-3">Here's the most recent message:</p>
        <blockquote class="mx-3 fst-normal pe-none">
            <t t-component="messageComponent" message="props.channel.newestPersistentOfAllMessage" isReadOnly="true" hasActions="false"/>
        </blockquote>
        <t t-set-slot="footer">
            <button class="btn btn-danger me-2" t-on-click="onClickConfirm">
                <i class="fa fa-sign-out me-1 opacity-50"/>
                Leave Conversation
            </button>
            <button class="btn btn-secondary me-2" t-on-click="props.close">
                <i class="oi oi-close me-1 opacity-50"/>
                Discard
            </button>
        </t>
    </Dialog>
</t>

</templates>
