2012-02-02 14:18:43 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<template>
|
2012-02-23 16:32:36 +00:00
|
|
|
|
|
|
|
<div t-name="Wall" class="oe_mail_wall">
|
2012-04-13 10:03:27 +00:00
|
|
|
<div class="oe_view_manager_header">
|
2012-05-09 11:55:41 +00:00
|
|
|
<div class="oe_header_row">
|
2012-04-13 10:03:27 +00:00
|
|
|
<h2 class="oe_view_title">All Feeds</h2>
|
|
|
|
</div>
|
2012-02-24 15:19:43 +00:00
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_wall_left">
|
|
|
|
<div class="oe_mail_wall_act">
|
2012-04-13 10:03:27 +00:00
|
|
|
<textarea class="oe_mail oe_mail_wall_action_textarea" placeholder="Add a personnal message here..."/>
|
2012-05-09 11:55:41 +00:00
|
|
|
<button class="oe_right oe_mail_wall_button_comment" type="button">Post comment</button>
|
2012-02-10 10:52:23 +00:00
|
|
|
</div>
|
2012-04-13 10:03:27 +00:00
|
|
|
<div class="oe_clear"></div>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_wall_threads">
|
|
|
|
</div>
|
2012-02-28 11:07:40 +00:00
|
|
|
<div class="oe_mail_wall_more">
|
2012-03-02 17:07:49 +00:00
|
|
|
<button class="oe_mail_wall_button_more" type="button">See more discussions</button>
|
2012-02-29 14:23:31 +00:00
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
</div>
|
2012-03-21 13:41:44 +00:00
|
|
|
<div class="oe_mail_wall_right"></div>
|
2012-02-23 16:32:36 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<t t-name="WallThreadContainer">
|
|
|
|
</t>
|
|
|
|
|
2012-03-02 17:07:49 +00:00
|
|
|
<div t-name="RecordThread" class="oe_mail_recthread">
|
2012-03-21 14:07:26 +00:00
|
|
|
<h4>History and Comments</h4>
|
2012-03-02 17:07:49 +00:00
|
|
|
<div class="oe_mail_recthread_left">
|
2012-02-23 16:32:36 +00:00
|
|
|
</div>
|
2012-03-02 17:07:49 +00:00
|
|
|
<div class="oe_mail_recthread_right">
|
2012-03-21 14:07:26 +00:00
|
|
|
<div class="oe_mail_recthread_actions">
|
2012-04-13 11:41:26 +00:00
|
|
|
<button type="button" class="oe_mail_button_follow oe_mail_button_mouseout">Not following</button>
|
|
|
|
<button type="button" class="oe_mail_button_unfollow oe_mail_button_mouseout">Following</button>
|
2012-03-08 16:41:38 +00:00
|
|
|
<button type="button" class="oe_mail_button_followers">Display followers</button>
|
2012-02-22 14:48:35 +00:00
|
|
|
</div>
|
2012-03-21 14:07:26 +00:00
|
|
|
<div class="oe_mail_recthread_followers">
|
2012-03-08 16:41:38 +00:00
|
|
|
<h4>Followers</h4>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_followers_display">
|
|
|
|
</div>
|
2012-02-10 12:43:48 +00:00
|
|
|
</div>
|
2012-02-08 15:25:21 +00:00
|
|
|
</div>
|
2012-02-06 09:06:18 +00:00
|
|
|
</div>
|
2012-02-22 14:04:03 +00:00
|
|
|
|
2012-04-13 12:25:30 +00:00
|
|
|
<ul t-name="Thread" class="oe_mail oe_mail_thread">
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_thread_act">
|
2012-05-09 11:55:41 +00:00
|
|
|
<img class="oe_mail_msg_image oe_left" alt="User img"/>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_msg_content">
|
2012-04-13 11:41:26 +00:00
|
|
|
<textarea class="oe_mail oe_mail_action_textarea" placeholder="Add your comment here..." onfocus="this.value = '';"/><br />
|
2012-02-22 14:04:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-03-02 17:07:49 +00:00
|
|
|
<div class="oe_mail_thread_display"></div>
|
2012-02-27 16:04:42 +00:00
|
|
|
<div class="oe_mail_thread_more">
|
2012-03-02 17:07:49 +00:00
|
|
|
<button class="oe_mail_button_more" type="button">Load more messages</button>
|
2012-02-27 16:04:42 +00:00
|
|
|
</div>
|
2012-03-21 14:07:26 +00:00
|
|
|
</ul>
|
2012-02-22 14:04:03 +00:00
|
|
|
|
2012-04-13 12:25:30 +00:00
|
|
|
<li t-name="ThreadMsg" t-attf-class="oe_mail oe_mail_thread_msg">
|
|
|
|
<div t-attf-class="oe_mail_msg_#{record.type}">
|
2012-05-09 11:55:41 +00:00
|
|
|
<img class="oe_mail_msg_image oe_left" t-att-src="record.mini_url"/>
|
2012-04-05 21:42:41 +00:00
|
|
|
<div class="oe_mail_msg_content">
|
|
|
|
<t t-if="record.type == 'email'"><t t-call="EmailDisplay" /></t>
|
|
|
|
<t t-if="record.type == 'notification' || record.type == 'comment'"><t t-call="NoteDisplay" /></t>
|
|
|
|
</div>
|
|
|
|
<t t-if="record.type == 'tmp'"><t t-call="ThreadDisplay" /></t>
|
2012-02-06 17:19:11 +00:00
|
|
|
</div>
|
2012-03-21 14:07:26 +00:00
|
|
|
</li>
|
2012-02-27 11:07:54 +00:00
|
|
|
|
2012-03-02 17:07:49 +00:00
|
|
|
<t t-name="NoteDisplay">
|
2012-03-08 16:41:38 +00:00
|
|
|
<p class="oe_mail_msg">
|
2012-04-13 10:03:27 +00:00
|
|
|
<t t-if="params.thread_level > 0">
|
|
|
|
<a href="#" class="intlink oe_mail_oe_intlink" t-attf-data-res-model='{params.res_model}' t-attf-data-res-id='{params.res_id}'><t t-raw="record.record_name"/></a>
|
|
|
|
</t>
|
2012-04-06 11:33:50 +00:00
|
|
|
<span class="oe_mail_msg_body"><t t-raw="record.body"/></span>
|
|
|
|
<t t-if="record.tr_body"><span class="oe_mail_msg_body_short"><t t-raw="record.tr_body"/></span></t>
|
2012-03-12 10:52:17 +00:00
|
|
|
<br />
|
|
|
|
<span class="oe_mail_oe_fade">
|
|
|
|
<a href="#" class="intlink oe_mail_oe_intlink" data-res-model='res.users' t-attf-data-res-id='{record.user_id[0]}'><t t-raw="record.user_id[1]"/></a>
|
|
|
|
on <t t-raw="record.date"/>
|
|
|
|
</span>
|
2012-04-13 11:41:26 +00:00
|
|
|
<t t-if="display['show_reply']"><a href="#" class="oe_mail_oe_space oe_mail_msg_reply oe_mail_oe_intlink"> Reply</a> </t>
|
2012-03-21 17:20:18 +00:00
|
|
|
<t t-if="display['show_delete']">
|
2012-04-13 11:41:26 +00:00
|
|
|
<t t-if="thread._is_author(record.user_id[0])"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_oe_space oe_mail_msg_delete oe_mail_oe_intlink"> Delete </a></t>
|
2012-03-21 17:20:18 +00:00
|
|
|
</t>
|
|
|
|
<t t-if="display['show_hide']">
|
2012-04-13 11:41:26 +00:00
|
|
|
<t t-if="!(thread._is_author(record.user_id[0]))"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_oe_space oe_mail_msg_hide oe_mail_oe_intlink">Hide</a></t>
|
2012-03-21 17:20:18 +00:00
|
|
|
</t>
|
2012-02-27 11:07:54 +00:00
|
|
|
</p>
|
2012-02-08 15:25:21 +00:00
|
|
|
</t>
|
2012-02-27 11:07:54 +00:00
|
|
|
|
|
|
|
<t t-name="EmailDisplay">
|
2012-03-08 16:41:38 +00:00
|
|
|
<p class="oe_mail_msg oe_mail_msg_p_email_header">
|
2012-04-13 10:03:27 +00:00
|
|
|
<t t-if="params.thread_level > 0">
|
|
|
|
<a href="#" class="intlink oe_mail_oe_intlink" t-attf-data-res-model='{params.res_model}' t-attf-data-res-id='{params.res_id}'><t t-raw="record.record_name"/></a>
|
|
|
|
</t>
|
|
|
|
<br />
|
2012-04-03 20:35:52 +00:00
|
|
|
<span class="oe_mail_oe_bold">From:</span> <t t-esc="record.email_from"/> on <span class="oe_mail_oe_fade"><t t-raw="record.date"/></span><br />
|
|
|
|
<span class="oe_mail_oe_bold">To:</span> <t t-esc="record.email_to"/><br />
|
|
|
|
<span class="oe_mail_oe_bold">Subject:</span> <t t-esc="record.subject"/><br />
|
2012-02-27 11:07:54 +00:00
|
|
|
</p>
|
2012-04-03 20:35:52 +00:00
|
|
|
<p class="oe_mail_msg">
|
2012-04-06 11:33:50 +00:00
|
|
|
<span class="oe_mail_msg_body"><t t-raw="record.body"/></span>
|
|
|
|
<t t-if="record.tr_body"><span class="oe_mail_msg_body_short"><t t-raw="record.tr_body"/></span></t>
|
2012-04-13 10:03:27 +00:00
|
|
|
<br />
|
|
|
|
<t t-if="display['show_delete']">
|
|
|
|
<t t-if="thread._is_author(record.user_id[0])"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_delete oe_mail_oe_intlink"> Delete </a></t>
|
|
|
|
</t>
|
|
|
|
<t t-if="display['show_hide']">
|
|
|
|
<t t-if="!(thread._is_author(record.user_id[0]))"><span class="oe_mail_oe_space"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_hide oe_mail_oe_intlink">Hide</a></span></t>
|
|
|
|
</t>
|
2012-02-27 11:07:54 +00:00
|
|
|
</p>
|
2012-02-23 16:32:36 +00:00
|
|
|
</t>
|
|
|
|
|
2012-02-16 16:03:02 +00:00
|
|
|
</template>
|