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">
|
|
|
|
<div class="oe_mail_wall_tweet">
|
|
|
|
<textarea class="oe_mail_action_textarea" onfocus="this.value='';">Enter your comment here...</textarea><br />
|
|
|
|
<button class="oe_mail_button_comment" type="button">Post comment</button>
|
2012-02-22 14:48:35 +00:00
|
|
|
</div>
|
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">
|
|
|
|
<button class="oe_mail_wall_button_more" type="button">See more discussions
|
|
|
|
</button>
|
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
</div>
|
|
|
|
<div class="oe_mail_wall_right">
|
2012-02-06 15:10:09 +00:00
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<t t-name="WallThreadContainer">
|
|
|
|
<div class="oe_mail_wall_thread_header">
|
|
|
|
Discussion about document <t t-raw="record_model"/> (id: <t t-raw="record_id"/>)
|
|
|
|
</div>
|
|
|
|
<div class="oe_mail_wall_thread_content">
|
|
|
|
</div>
|
|
|
|
</t>
|
|
|
|
|
|
|
|
<div t-name="Thread" class="oe_mail_thread_main">
|
|
|
|
<div class="separator horizontal">OpenSocial</div>
|
|
|
|
<div class="oe_mail_thread_left">
|
|
|
|
</div>
|
|
|
|
<div class="oe_mail_thread_right">
|
2012-02-22 14:48:35 +00:00
|
|
|
<div class="oe_mail_actions">
|
|
|
|
<button type="button" class="oe_mail_button_follow">Follow</button>
|
|
|
|
<button type="button" class="oe_mail_button_unfollow">Unfollow</button>
|
|
|
|
</div>
|
2012-02-10 12:43:48 +00:00
|
|
|
<div class="oe_mail_followers">
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_followers_actions">
|
|
|
|
<button type="button" class="oe_mail_button_followers">Display followers</button>
|
|
|
|
</div>
|
|
|
|
<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-02-23 16:32:36 +00:00
|
|
|
<div t-name="ThreadDisplay" class="oe_mail_thread">
|
|
|
|
<div class="oe_mail_thread_act">
|
|
|
|
<div class="oe_mail_msg_image">
|
2012-02-22 14:04:03 +00:00
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_msg_content">
|
2012-02-27 11:07:54 +00:00
|
|
|
<textarea class="oe_mail_action_textarea" onfocus="this.value='';">Enter your comment here...</textarea><br />
|
|
|
|
<button type="button" class="oe_mail_button_comment">Post comment</button>
|
2012-02-22 14:04:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-02-23 16:32:36 +00:00
|
|
|
<div class="oe_mail_thread_display">
|
2012-02-22 14:04:03 +00:00
|
|
|
</div>
|
2012-02-27 16:04:42 +00:00
|
|
|
<div class="oe_mail_thread_more">
|
2012-02-29 08:59:53 +00:00
|
|
|
<button class="oe_mail_button_more" type="button">More</button>
|
|
|
|
</div>
|
|
|
|
<div class="oe_mail_thread_nomore">
|
|
|
|
You have loaded all messages in this thread.
|
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-02-22 14:04:03 +00:00
|
|
|
<div class="oe_mail_msg_image">
|
|
|
|
<img t-att-src="record.mini_url"/>
|
|
|
|
</div>
|
2012-02-08 15:25:21 +00:00
|
|
|
<div class="oe_mail_msg_content">
|
2012-02-27 11:07:54 +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="NotificationDisplay" />
|
|
|
|
</t>
|
2012-02-06 17:19:11 +00:00
|
|
|
</div>
|
2012-02-27 11:07:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<t t-name="NotificationDisplay">
|
|
|
|
<p class="oe_mail_msg_p">
|
|
|
|
<t t-if="record.type == 'notification'">
|
|
|
|
<span class="oe_mail_msg_author">OpenERP System Notification</span>
|
|
|
|
</t>
|
|
|
|
<t t-if="record.type == 'comment'">
|
|
|
|
<span class="oe_mail_msg_author">
|
|
|
|
<a href="#" data-res-model='res.users' t-attf-data-res-id='{record.user_id[0]}'><t t-raw="record.user_id[1]"/></a>
|
|
|
|
</span>
|
|
|
|
</t>
|
|
|
|
<t t-if="record.need_action_user_id != false">
|
|
|
|
- <span class="oe_mail_msg_need_action">Need action by <a href="#"><t t-raw="record.need_action_user_id[1]"/></a></span>
|
|
|
|
</t>
|
|
|
|
wrote on <span class="oe_mail_msg_date"><t t-raw="record.date"/></span>
|
|
|
|
<br />
|
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-08 15:25:21 +00:00
|
|
|
</t>
|
2012-02-27 11:07:54 +00:00
|
|
|
|
|
|
|
<t t-name="EmailDisplay">
|
|
|
|
<p class="oe_mail_msg_p oe_mail_msg_p_email_header">
|
|
|
|
From: <t t-esc="email_from"/> on <span class="oe_mail_msg_date"><t t-raw="record.date"/></span><br />
|
|
|
|
To: <t t-sec="mail_to"/><br />
|
|
|
|
</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>
|