summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-02-26 11:01:55 +0100
committerThibault Delavallée <tde@openerp.com>2013-02-26 11:01:55 +0100
commit4d7579b35730b7f7ece22da61857d9e9845b5aec (patch)
tree7f803c67a148e3e6d69c56c0edb9d973814f4a54 /addons/mail/static/src/xml/mail.xml
parent9247cc219b05b20d558899a2315e9a8280088682 (diff)
[IMP] Chatter: mailboxes do not have "Share a message or Log a note", but the good ol' textarea like chatter.
bzr revid: tde@openerp.com-20130226100155-x38ub426vdpxr7b5
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml23
1 files changed, 15 insertions, 8 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index 260b51c5406..a1ad3b7253f 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -41,15 +41,22 @@
</div>
</div>
<div t-if="widget.show_compact_message and !widget.show_composer and !widget.options.readonly" t-attf-class="oe_msg oe_msg_composer_compact #{widget.thread_level and widget.options.display_indented_thread > -1 ? 'oe_msg_indented' : ''}">
- <div class="field_text oe_compact">
- <a class="oe_compose_post">
+ <t t-if="widget.options.view_mailbox">
+ <div class="field_text oe_compact oe_compact_inbox">
<t t-if="widget.options.compose_placeholder" t-raw="widget.options.compose_placeholder"/>
- <t t-if="!widget.options.compose_placeholder and !widget.options.view_mailbox">Share a message</t>
- <t t-if="!widget.options.compose_placeholder and widget.options.view_mailbox">Share with my followers</t>
- </a>
- <span class="oe_grey">or</span>
- <a class="oe_compose_log">Log a note</a>
- </div>
+ <t t-if="!widget.options.compose_placeholder and widget.options.view_mailbox">Share with my followers...</t>
+ </div>
+ </t>
+ <t t-if="!widget.options.view_mailbox">
+ <div class="field_text oe_compact oe_compact_record">
+ <a class="oe_compose_post">
+ <t t-if="widget.options.compose_placeholder" t-raw="widget.options.compose_placeholder"/>
+ <t t-if="!widget.options.compose_placeholder and !widget.options.view_mailbox">Share a message</t>
+ </a>
+ <span class="oe_grey">or</span>
+ <a class="oe_compose_log">Log a note</a>
+ </div>
+ </t>
</div>
<span t-if="!(widget.show_compact_message and !widget.show_composer) and !widget.show_composer" class="oe_placeholder_compose"></span>
</t>