Some tweaks to chatter
bzr revid: mit@openerp.com-20120605173953-7i7wag4ceo2q6qde
This commit is contained in:
@@ -275,7 +275,7 @@
|
||||
|
||||
.openerp p.oe_mail_msg {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin: 0 0 4px 0;
|
||||
}
|
||||
|
||||
.openerp a.oe_mail_oe_intlink {
|
||||
|
||||
@@ -70,7 +70,6 @@
|
||||
|
||||
<t t-name="NoteDisplay">
|
||||
<p class="oe_mail_msg">
|
||||
<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>
|
||||
<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>
|
||||
@@ -78,19 +77,23 @@
|
||||
<t t-if="record.tr_body"><span class="oe_mail_msg_body_short"><t t-raw="record.tr_body"/></span></t><br/>
|
||||
<ul>
|
||||
<t t-if="display['show_reply']">
|
||||
<li><a href="#" class="oe_mail_oe_space oe_mail_msg_reply oe_mail_oe_intlink">Reply</a><span class="oe_fade"> · </span></li>
|
||||
<li><a href="#" class="oe_mail_msg_reply oe_mail_oe_intlink">Reply</a><span class="oe_mail_oe_space oe_fade"> · </span></li>
|
||||
</t>
|
||||
<t t-if="display['show_delete']">
|
||||
<t t-if="thread._is_author(record.user_id[0])">
|
||||
<li><a href="#" t-attf-data-id='{record.id}' class="oe_mail_oe_space oe_mail_msg_delete oe_mail_oe_intlink">Delete</a><span class="oe_fade"> · </span></li>
|
||||
<li><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_delete oe_mail_oe_intlink">Delete</a><span class="oe_mail_oe_space oe_fade"> · </span></li>
|
||||
</t>
|
||||
</t>
|
||||
<t t-if="display['show_hide']">
|
||||
<t t-if="!(thread._is_author(record.user_id[0]))">
|
||||
<li><a href="#" t-attf-data-id='{record.id}' class="oe_mail_oe_space oe_mail_msg_hide oe_mail_oe_intlink">Hide</a><span class="oe_fade"> · </span></li>
|
||||
<li><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_hide oe_mail_oe_intlink">Hide</a><span class="oe_mail_oe_space oe_fade"> · </span></li>
|
||||
</t>
|
||||
</t>
|
||||
<li><span class="oe_mail_oe_fade"><t t-raw="record.date"/></span></li>
|
||||
<li>
|
||||
<span class="oe_fade"><t t-raw="record.date"/>
|
||||
by <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>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</t>
|
||||
@@ -113,7 +116,7 @@
|
||||
<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 t-if="!(thread._is_author(record.user_id[0]))"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_hide oe_mail_oe_intlink">Hide</a></t>
|
||||
</t>
|
||||
</p>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user