62 lines
2.7 KiB
XML
62 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<template>
|
|
|
|
<div t-name="ThreadView" class="oe_mail_main">
|
|
<div class="separator horizontal">OpenSocial</div>
|
|
<div class="oe_mail_main_left">
|
|
<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>
|
|
<div class="oe_mail_post_comment">
|
|
<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>
|
|
</div>
|
|
<div class="oe_mail_msg">
|
|
<div class="oe_mail_comment">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="oe_mail_main_right">
|
|
<div class="oe_mail_followers_actions">
|
|
<button type="button" class="oe_mail_button_followers">See followers</button>
|
|
</div>
|
|
<div class="oe_mail_followers">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<t t-name="ThreadMsgView">
|
|
<div class="oe_mail_msg_image">Image</div>
|
|
<div class="oe_mail_msg_content">
|
|
<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="#"><t t-raw="record.user_id[1]"/></a></span>
|
|
</t>
|
|
<t t-if="record.type == 'email'">
|
|
<span class="oe_mail_msg_author"><t t-raw="record.user_id[1]"/></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>
|
|
<br />
|
|
<span class="oe_mail_msg_body"><t t-raw="record.body_text"/></span><br />
|
|
<span class="oe_mail_msg_date"><a href="#"><t t-raw="record.date"/></a></span>
|
|
</p>
|
|
</div>
|
|
</t>
|
|
|
|
<div t-name="WallView" class="oe_mail_wall_main">
|
|
<div class="oe_mail_post_comment">
|
|
<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>
|
|
</div>
|
|
<div class="oe_mail_msg">
|
|
<div class="oe_mail_comment">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</template>
|