[ADD]: add an option in chatter 'display_log_button', that is true for employee actio...
[odoo/odoo.git] / addons / mail / static / src / xml / mail.xml
index e6c84ea..182346c 100644 (file)
                 <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>