58 lines
2.2 KiB
XML
58 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<template>
|
|
|
|
<!--
|
|
followers main template
|
|
Template used to display the followers, the actions and the subtypes in a record.
|
|
-->
|
|
<div t-name="mail.followers" class="oe_mail_recthread_aside oe_semantic_html_override">
|
|
<div class="oe_mail_recthread_actions">
|
|
<div class="oe_mouse_subtypes">
|
|
<button type="button" class="oe_follower oe_notfollow">
|
|
<span class="oe_follow">Follow</span>
|
|
<span class="oe_unfollow">Unfollow</span>
|
|
<span class="oe_following">Following</span>
|
|
</button>
|
|
<div class="oe_recthread_subtypes">
|
|
<ul class="oe_subtypes"></ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="oe_grey">
|
|
<t t-if="widget.options.comment">
|
|
<h5><t t-raw="widget.options.comment"/></h5>
|
|
</t>
|
|
</div>
|
|
<div class="oe_mail_recthread_followers">
|
|
<button type="button" class="oe_invite"><span>Invite</span></button>
|
|
<t t-if="widget.options.title">
|
|
<h4><t t-raw="widget.options.title"/></h4>
|
|
</t>
|
|
<ul class="oe_mail_followers_display"></ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!--
|
|
followers.partner template
|
|
Template used to display a partner following the record
|
|
-->
|
|
<li t-name="mail.followers.partner">
|
|
<img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
|
|
<a t-attf-href="#model=res.partner&id=#{record.id}"><t t-raw="record.name"/></a>
|
|
</li>\
|
|
|
|
<!--
|
|
followers.subtype template
|
|
Template used to display message subtypes of a follower subscription
|
|
-->
|
|
<li t-name="mail.followers.subtype">
|
|
<table width="50%">
|
|
<tr>
|
|
<td><label t-att-for="'input_mail_followers_subtype_'+record.id"><t t-raw="record.name"/></label></td>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
|
|
</template>
|