File: mail_templates_invite.xml

package info (click to toggle)
odoo 18.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 878,716 kB
  • sloc: javascript: 927,937; python: 685,670; xml: 388,524; sh: 1,033; sql: 415; makefile: 26
file content (34 lines) | stat: -rw-r--r-- 1,743 bytes parent folder | download
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
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <template id="mail_notification_invite" inherit_id="mail.mail_notification_layout" primary="True">
            <xpath expr="//td[@t-if='subtitles']" position="before">
                <t t-if="not has_button_access">
                    <t t-set="subtitles" t-value="False" />
                </t>
            </xpath>
            <xpath expr="//div[@t-out='message.body']" position="before">
                <hr width="100%"
    style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0;margin: 10px 0px;"/>
            </xpath>
            <xpath expr="//div[@t-out='message.body']" position="replace">
                <div style="font-size:13px;">
                    <div>
                        <t t-out='message.author_id.name'/> (<t t-out='message.author_id.email'/>) added you as a follower of this <t t-out="model_description"/>.
                    </div>
                    <br t-if="len(message.body) > 0"/>
                    <div style="color:grey;">
                        <t t-out="message.body"/>
                    </div>
                </div>
            </xpath>
            <xpath expr="//tr[td/p[@t-if='subtype_internal']]" position="replace"/>
            <xpath expr="//span[@id='mail_unfollow']" position="replace"/>
            <xpath expr="//div[@style='margin-top:16px;']/hr" position="before">
                <span id="mail_unfollow" style="font-size: 13px;">
                    Not interested by this? <a href="/mail/unfollow" style="text-decoration:none; color:#555555;">Unfollow</a>
                </span>
            </xpath>
        </template>
    </data>
</odoo>