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-02-24 15:19:43 +00:00
|
|
|
<div class="oe_mail_wall_search">
|
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_wall_left">
|
|
|
|
<div class="oe_mail_wall_act">
|
2012-03-21 13:41:44 +00:00
|
|
|
<textarea class="oe_mail oe_mail_wall_action_textarea" placeholder="Add a personnal message here..."/><br />
|
|
|
|
<button class="oe_mail_wall_button_comment" type="button">Post comment</button>
|
2012-02-10 10:52:23 +00:00
|
|
|
</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>
|
|
|
|
<p class="oe_mail_wall_nomore">You have loaded all discussions.</p>
|
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-02-23 16:32:36 +00:00
|
|
|
<div class="separator horizontal">OpenSocial</div>
|
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-02-22 14:48:35 +00:00
|
|
|
<div class="oe_mail_actions">
|
2012-03-13 17:22:33 +00:00
|
|
|
<button type="button" class="oe_mail_button_follow">Not following</button>
|
|
|
|
<button type="button" class="oe_mail_button_unfollow">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-02-10 12:43:48 +00:00
|
|
|
<div class="oe_mail_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-03-02 17:07:49 +00:00
|
|
|
<div t-name="Thread" class="oe_mail_thread">
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_thread_act">
|
2012-03-08 16:41:38 +00:00
|
|
|
<img class="oe_mail_msg_image oe_mail_oe_left" alt="User img"/>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_msg_content">
|
2012-03-12 15:25:29 +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>
|
|
|
|
<p class="oe_mail_p_nomore">You have loaded all messages in this thread.</p>
|
2012-02-27 16:04:42 +00:00
|
|
|
</div>
|
2012-02-22 14:04:03 +00:00
|
|
|
</div>
|
|
|
|
|
2012-02-27 11:07:54 +00:00
|
|
|
<div t-name="ThreadMsg" t-attf-class="{record.type} oe_mail_thread_msg">
|
2012-03-08 16:41:38 +00:00
|
|
|
<img class="oe_mail_msg_image oe_mail_oe_left" t-att-src="record.mini_url"/>
|
2012-02-08 15:25:21 +00:00
|
|
|
<div class="oe_mail_msg_content">
|
2012-03-02 17:07:49 +00:00
|
|
|
<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>
|
2012-02-06 17:19:11 +00:00
|
|
|
</div>
|
2012-03-02 17:07:49 +00:00
|
|
|
<t t-if="record.type == 'tmp'"><t t-call="ThreadDisplay" /></t>
|
2012-02-27 11:07:54 +00:00
|
|
|
</div>
|
|
|
|
|
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-03-12 10:52:17 +00:00
|
|
|
<a href="#" class="intlink oe_mail_oe_intlink" t-attf-data-res-model='{res_model}' t-attf-data-res-id='{res_id}'><t t-raw="name"/></a>
|
2012-02-27 16:04:42 +00:00
|
|
|
<span class="oe_mail_msg_body"><t t-raw="record.body_text"/></span>
|
2012-03-02 17:07:49 +00:00
|
|
|
<t t-if="record.tr_body_text"><span class="oe_mail_msg_body_short"><t t-raw="record.tr_body_text"/></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-03-12 15:25:29 +00:00
|
|
|
<t t-if="display.show_reply"><span class="oe_mail_oe_space"><a href="#" class="oe_mail_msg_reply">Reply</a></span></t>
|
2012-03-13 17:41:05 +00:00
|
|
|
<t t-if="display.show_delete"><span class="oe_mail_oe_space"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_delete">Delete</a></span></t>
|
|
|
|
<t t-if="display.show_hide"><span class="oe_mail_oe_space"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_hide">Hide</a></span></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">
|
|
|
|
<span class="oe_mail_oe_bold">From:</span> <t t-esc="email_from"/> on <span class="oe_mail_oe_fade"><t t-raw="record.date"/></span><br />
|
|
|
|
<span>To:</span> <t t-sec="mail_to"/><br />
|
|
|
|
<span>Subject:</span> <t t-sec="subject"/><br />
|
2012-02-27 11:07:54 +00:00
|
|
|
</p>
|
|
|
|
<p class="oe_mail_msg_p">
|
2012-02-27 16:04:42 +00:00
|
|
|
<span class="oe_mail_msg_body"><t t-raw="record.body_text"/></span>
|
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>
|