summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/notification_request/notification_request.xml
blob: f59c671a723811b56b2b85dab7f92253b755017c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-name="mail.NotificationRequest" owl="1">
        <div class="o_NotificationRequest" t-on-click="_onClick">
            <div class="o_NotificationRequest_sidebar">
                <div class="o_NotificationRequest_imageContainer o_NotificationRequest_sidebarItem">
                    <img class="o_NotificationRequest_image rounded-circle" src="/mail/static/src/img/odoobot.png" alt="Avatar of OdooBot"/>
                    <PartnerImStatusIcon
                        class="o_NotificationRequest_partnerImStatusIcon"
                        t-att-class="{ 'o-mobile': env.messaging.device.isMobile }"
                        partnerLocalId="env.messaging.partnerRoot.localId"
                    />
                </div>
            </div>
            <div class="o_NotificationRequest_content">
                <div class="o_NotificationRequest_header">
                    <span class="o_NotificationRequest_name" t-att-class="{ 'o-mobile': env.messaging.device.isMobile }">
                        <t t-esc="getHeaderText()"/>
                    </span>
                </div>
                <div class="o_NotificationRequest_core">
                    <span class="o_NotificationRequest_coreItem o_NotificationRequest_inlineText">
                        Enable desktop notifications to chat.
                    </span>
                </div>
            </div>
        </div>
    </t>

</templates>