1 <?xml version="1.0" encoding="UTF-8"?>
4 <div t-name="mail.Wall" class="oe_mail_wall">
5 <table class="oe_view_manager_header">
6 <tr class="oe_header_row">
7 <td><h2 class="oe_view_title">All Feeds</h2></td>
8 <td><div class="oe_view_manager_view_search" t-opentag="true"/></td>
11 <div class="oe_mail_wall_main">
12 <div class="oe_mail_wall_action">
13 <img class="oe_mail_msg_image oe_left" alt="User img"/>
14 <textarea class="oe_mail oe_mail_wall_action_textarea" placeholder="What are you working on?"/>
15 <button class="oe_right oe_mail_wall_button_comment" type="button">Post comment</button>
17 <div class="oe_clear"></div>
18 <ul class="oe_mail_wall_threads">
20 <div class="oe_mail_wall_more">
21 <button class="oe_mail_wall_button_more" type="button">See more discussions</button>
24 <div class="oe_mail_wall_aside"></div>
27 <t t-name="mail.WallThreadContainer">
30 <div t-name="mail.RecordThread" class="oe_mail_recthread">
31 <div class="oe_mail_recthread_left"></div>
32 <div class="oe_mail_recthread_right">
33 <div class="oe_mail_recthread_actions">
34 <button type="button" class="oe_mail_button_follow oe_mail_button_mouseout">Not following</button>
35 <button type="button" class="oe_mail_button_unfollow oe_mail_button_mouseout">Following</button>
36 <button type="button" class="oe_mail_button_followers">Display followers</button>
38 <div class="oe_mail_recthread_followers">
40 <ul class="oe_mail_followers_display"></ul>
45 <div t-name="mail.Thread" class="oe_mail oe_mail_thread">
46 <div class="oe_mail_thread_action">
47 <img class="oe_mail_msg_image oe_left" alt="User img"/>
48 <div class="oe_mail_msg_content">
49 <textarea class="oe_mail oe_mail_action_textarea" placeholder="Add your comment here..." onfocus="this.value = '';"/>
52 <div class="oe_mail_thread_display"></div>
53 <div class="oe_mail_thread_more">
54 <button class="oe_mail_button_more" type="button">Load more messages</button>
58 <!-- default layout -->
59 <div t-name="mail.Thread.message" class="oe_mail oe_mail_thread_msg">
60 <div t-attf-class="oe_mail_msg_#{record.type}">
61 <img class="oe_email_icon oe_left" t-att-src="record.mini_url"/>
62 <div class="oe_mail_msg_content">
63 <span class="oe_dropdown_toggle oe_dropdown_arrow">
64 <ul class="oe_dropdown_menu">
65 <t t-if="thread._is_author(record.user_id[0]) && display['show_delete']">
66 <li><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_delete">Delete</a></li>
68 <t t-if="!thread._is_author(record.user_id[0]) && display['show_hide']">
69 <li><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_hide">Hide</a></li>
74 <div class="oe_mail_msg">
75 <t t-if="record.subject">
76 <h1 class="oe_mail_msg_title">
77 <a href="#" class="oe_mail_internal_link"><t t-raw="record.subject"/></a>
81 <p class="oe_mail_msg_subtitle">
82 <t t-if="params.thread_level > 0">
83 <a href="#" t-attf-data-res-model='{params.res_model}' t-attf-data-res-id='{params.res_id}' class="oe_mail_internal_link"><t t-raw="record.record_name"/></a>
85 <span class="oe_mail_msg_author"><a href="#" data-res-model='res.users' t-attf-data-res-id='{record.user_id[0]}' class="oe_mail_internal_link"><t t-raw="record.user_id[1]"/></a></span>
86 <span class="oe_mail_msg_date" t-att-title="record.date"><t t-raw="record.timerelative"/></span>
89 <div class="oe_mail_msg_body"><t t-raw="record.body"/></div>
90 <t t-if="record.tr_body">
91 <div class="oe_mail_msg_body_short"><t t-raw="record.tr_body"/></div>
94 <ul class="oe_mail_msg_footer">
95 <t t-if="display['show_reply']">
96 <li><a href="#" class="oe_mail_msg_reply">Reply</a></li>
98 <li><a href="#">Like</a></li>
99 <t t-if="record.attachment_ids.length > 0">
101 <a href="#" class="oe_mail_msg_view_attachments">
102 <t t-if="record.attachment_ids.length == 1">Attachment</t>
103 <t t-if="record.attachment_ids.length > 1">Attachments (<t t-raw="record.attachment_ids.length"/>)</t>
108 <t t-if="record.attachment_ids.length > 0">
109 <div class="oe_clear"></div>
110 <ul class="oe_mail_msg_attachments">
111 <t t-foreach="record.attachments" t-as="attachment">
112 <li> <a t-att-href="attachment.url"><t t-raw="attachment.name"/></a> </li>