summaryrefslogtreecommitdiff
path: root/addons/sms/static/src/components/message/message.xml
blob: b8b6a18d94aa4210e6be8bd9e95aaeb8138e995d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-inherit="mail.Message" t-inherit-mode="extension">
        <xpath expr="//*[@name='failureIcon']" position="replace">
            <t t-if="message.message_type === 'sms'">
                <i class="o_Message_notificationIcon fa fa-mobile"/> SMS
            </t>
            <t t-else="">$0</t>
        </xpath>

        <xpath expr="//*[@name='notificationIcon']" position="replace">
            <t t-if="message.message_type === 'sms'">
                <i class="o_Message_notificationIcon fa fa-mobile"/> SMS
            </t>
            <t t-else="">$0</t>
        </xpath>
    </t>

</templates>