odoo18/addons/hr_holidays/static/src/thread_icon.patch.xml

12 lines
669 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-inherit="mail.ThreadIcon" t-inherit-mode="extension">
<xpath expr="//*[@name='chat_static']" position="replace">
<div t-if="correspondent.persona.im_status === 'leave_online'" class="o-mail-ThreadIcon-online fa fa-fw fa-plane" title="Online"/>
<div t-elif="correspondent.persona.im_status === 'leave_offline'" class="fa fa-fw fa-plane" title="Out of office"/>
<div t-elif="correspondent.persona.im_status === 'leave_away'" class="fa fa-fw fa-plane o-yellow" title="Away"/>
<t t-else="">$0</t>
</xpath>
</t>
</templates>