Before this commit, due to milk changes, when a user was out of the office, an alert box with a border-radius was displayed at the top of the chat. This border-radius needed to be removed. This commit effectively resolves this issue. task-3337778 part of task-3326263 closes odoo/odoo#123023 X-original-commit: 41685396c75aa7902e480629b91143381cca8bd1 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
9 lines
521 B
XML
9 lines
521 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates xml:space="preserve">
|
|
<t t-inherit="mail.Thread" t-inherit-mode="extension">
|
|
<xpath expr="//*[hasclass('o-mail-Thread')]" position="before">
|
|
<div t-if="props.thread.model === 'discuss.channel' and props.thread.correspondent and personaService.outOfOfficeText(props.thread.correspondent)" class="alert alert-primary rounded-0" t-esc="personaService.outOfOfficeText(props.thread.correspondent)" role="alert"/>
|
|
</xpath>
|
|
</t>
|
|
</templates>
|