[MERGE] mail/chatter complete review/refactoring
[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 oe_semantic_html_override">
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         </div>
13         <div class="oe_mail_recthread_followers">
14             <t t-if="widget.options.title">
15                 <h4><t t-raw="widget.options.title"/></h4>
16             </t>
17             <ul class="oe_mail_followers_display"></ul>
18         </div>
19     </div>
20
21     <!--
22         followers.partner template
23         Template used to display a partner following the record
24         -->
25     <li t-name="mail.followers.partner">
26         <img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
27         <a t-attf-href="#model=res.partner&amp;id=#{record.id}"><t t-raw="record.name"/></a>
28     </li>
29
30 </template>