<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
    <t t-inherit="mail.ThreadView" t-inherit-mode="extension">
        <xpath expr="//*[@name='loadingCondition']" position="before">
            <t t-if="threadView.thread.correspondent and threadView.thread.correspondent.outOfOfficeText">
                <div class="o_ThreadView_outOfOffice alert alert-primary" t-esc="threadView.thread.correspondent.outOfOfficeText" role="alert"/>
            </t>
        </xpath>
    </t>
</templates>
