})
});
_(records).each(function (record) {
- $(session.web.qweb.render('mail.subtype.ids', {'record': record})).appendTo(subtype_list);
+ $(session.web.qweb.render('mail.record_thread.subtype', {'record': record})).appendTo(subtype_list);
});
},
<img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
<a t-attf-href="#model=res.users&id=#{record.id}"><t t-raw="record.name"/></a>
</li>
- <li t-name="mail.subtype.ids">
- <a t-attf-href="#model=mail.message.subtype&id=#{record.id}"><t t-raw="record.name"/></a>
- <input type="checkbox" t-att-id="record.id" t-att-name="record.name" class="oe_msg_subtype_check"/>
+ <li t-name="mail.record_thread.subtype">
+ <table width="50%">
+ <tr>
+ <td>
+ <a t-attf-href="#model=mail.message.subtype&id=#{record.id}"><t t-raw="record.name"/></a>
+ </td>
+ <td width="10%">
+ <input type="checkbox" t-att-id="record.id" t-att-name="record.name" class="oe_msg_subtype_check"/>
+ </td>
+ </tr>
+ </table>
</li>
</template>