summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorajay javiya (OpenERP) <aja@tinyerp.com>2013-09-20 18:34:49 +0530
committerajay javiya (OpenERP) <aja@tinyerp.com>2013-09-20 18:34:49 +0530
commitde52e90cfa15286c0e360ec782fe9d42f98ac23a (patch)
tree65f76d54a25f8c246befce9146bc6a522782ab6c /addons/mail/static/src/xml/mail.xml
parent5d7e287382744008601f4c8c92c4740a239d5c77 (diff)
[ADD]: add an option in chatter 'display_log_button', that is true for employee action, and False for portal action
bzr revid: aja@tinyerp.com-20130920130449-8c5z33tgegftdxu3
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index e6c84eaa5df..182346cc832 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -51,8 +51,10 @@
<div class="field_text oe_compact oe_compact_record">
<a class="oe_compose_post" t-if="widget.options.compose_placeholder"><t t-raw="widget.options.compose_placeholder"/></a>
<a class="oe_compose_post" t-if="!widget.options.compose_placeholder and !widget.options.view_mailbox">Send a message</a>
- <span class="oe_grey oe_sep_word">or</span>
- <a class="oe_compose_log">Log a note</a>
+ <t t-if="widget.options.display_log_button">
+ <span class="oe_grey oe_sep_word">or</span>
+ <a class="oe_compose_log">Log a note</a>
+ </t>
</div>
</t>
</div>