<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
    <t t-inherit="mail.PersonaImStatusIcon" t-inherit-mode="extension">
        <xpath expr="//*[@name='root']" position="inside">
            <t t-if="personaImStatusIconView.persona.im_status === 'leave_online'">
                <i class="o_PersonaImStatusIcon_icon o-online fa fa-plane fa-stack-1x text-primary" title="Online" role="img" aria-label="User is online"/>
            </t>
            <t t-if="personaImStatusIconView.persona.im_status === 'leave_away'">
                <i class="o_PersonaImStatusIcon_icon o-away fa fa-plane fa-stack-1x text-warning" title="Away" role="img" aria-label="User is away"/>
            </t>
            <t t-if="personaImStatusIconView.persona.im_status === 'leave_offline'">
                <i class="o_PersonaImStatusIcon_icon o-offline fa fa-plane fa-stack-1x text-700" title="Out of office" role="img" aria-label="User is out of office"/>
            </t>
        </xpath>
    </t>
</templates>
