9979aa9d6fa90947b0c84994daef11727593e2b6
[odoo/odoo.git] / addons / mail / static / src / xml / mail_followers.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <template>
3
4     <!--
5         followers main template
6         Template used to display the followers and the actions in a record.
7         -->
8     <div t-name="mail.followers" class="oe_mail_recthread_aside">
9         <div class="oe_mail_recthread_actions">
10             <button type="button" class="oe_mail_button_follow oe_mail_button_mouseout">Not following</button>
11             <button type="button" class="oe_mail_button_unfollow oe_mail_button_mouseout">Following</button>
12             <button type="button" class="oe_mail_button_followers">Show followers</button>
13         </div>
14         <div class="oe_mail_recthread_followers">
15             <t t-if="widget.params.title">
16                 <h4><t t-raw="widget.params.title"/></h4>
17             </t>
18             <ul class="oe_mail_followers_display"></ul>
19             <ul class="oe_mail_recthread_subtype"></ul>
20         </div>
21     </div>
22
23     <!--
24         followers.partner template
25         Template used to display a partner following the record
26         -->
27     <li t-name="mail.followers.partner">
28         <img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
29         <a t-attf-href="#model=res.users&amp;id=#{record.id}"><t t-raw="record.name"/></a>
30     </li>
31     <li t-name="mail.subtype.ids">
32       <a t-attf-href="#model=mail.message.subtype&amp;id=#{record.id}"><t t-raw="record.name"/></a>
33       <input type="checkbox" t-att-id="record.id" t-att-name="record.name" class="oe_msg_subtype_check"/>
34     </li>
35
36 </template>