summaryrefslogtreecommitdiff
path: root/addons/hr_holidays/static/src/components/thread_view/thread_view.xml
blob: 796dcfba651dbc9b64d60f68a2207d1ae199c865 (plain)
1
2
3
4
5
6
7
8
9
10
<?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>