1 <?xml version="1.0" encoding="UTF-8"?>
5 followers main template
6 Template used to display the followers, the actions and the subtypes in a record.
8 <div t-name="mail.followers" class="oe_followers">
9 <div class="oe_actions">
10 <button type="button" class="oe_follower oe_notfollow">
11 <span class="oe_follow">Follow</span>
12 <span class="oe_unfollow">Unfollow</span>
13 <span class="oe_following">Following</span>
15 <t t-if="widget.comment">
16 <h5 class="oe_comment"><t t-raw="widget.comment"/></h5>
18 <div class="oe_subtype_list"></div>
20 <div class='oe_follower_title_box'>
21 <h4 class='oe_follower_title'>Followers</h4>
22 <a t-if="widget.view_is_editable" href='#' class="oe_invite">Add others</a>
24 <div class="oe_follower_list"></div>
28 followers.partner template
29 Template used to display a partner following the record
31 <div t-name="mail.followers.partner" class='oe_partner'>
32 <img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
33 <a t-attf-href="#model=res.partner&id=#{record.id}" t-att-title="record.name" t-att-data-partner="record.id"><t t-esc="record.name"/></a>
34 <span t-if="record.is_editable and (widget.records_length > 1)" class="oe_edit_subtype oe_e oe_hidden" title="Edit subscription" t-att-data-id="record.id">&</span>
35 <span t-if="widget.view_is_editable" class="oe_remove_follower oe_e" title="Remove this follower" t-att-data-id="record.id">X</span>
39 followers.subtype template
40 Template used to display message subtypes of a follower subscription
42 <t t-name="mail.followers.subtype">
43 <table class='oe_subtype'>
45 <td width="10%"><input type="checkbox" t-att-checked="record.followed" t-att-id="'input_mail_followers_subtype_'+record.id" t-att-data-id="record.id" t-att-name="record.name" class="oe_msg_subtype_check"/></td>
46 <td><label t-att-for="'input_mail_followers_subtype_'+record.id"><t t-esc="record.name"/></label></td>
51 <t t-name="mail.followers.show_more">
52 <div class="oe_partner oe_show_more">And <t t-esc="number"/> more.</div>