summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/chatter.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-02-22 16:25:02 +0100
committerChristophe Simonis <chs@odoo.com>2019-02-22 16:25:02 +0100
commit0e7675847f05a63cf013210dabac82c94845217f (patch)
treeae87ad0d0b4d792cb7a17ea1b5428b5d96ce8c56 /addons/mail/static/src/xml/chatter.xml
parent1af67ffdfa370ade4ea12f227d7c4fae5bc02170 (diff)
parent0f4abc5c228747c7eee79f820fa2ea9c23d73e5f (diff)
[MERGE] forward port branch saas-12.1 up to 0f4abc5c228
Diffstat (limited to 'addons/mail/static/src/xml/chatter.xml')
-rw-r--r--addons/mail/static/src/xml/chatter.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/chatter.xml b/addons/mail/static/src/xml/chatter.xml
index 7f8629f1bae..7fe1eeebd77 100644
--- a/addons/mail/static/src/xml/chatter.xml
+++ b/addons/mail/static/src/xml/chatter.xml
@@ -105,11 +105,17 @@
</t>
+ <!--
+ Chatter attachment paperclip button.
+
+ @param {boolean} [displayCounter]
+ @param {integer} [count]
+ -->
<t t-name="mail.chatter.Attachment.Button">
<button class="btn btn-link o_chatter_button_attachment" title="View all the attachments of the current record">
<span>
<i class="fa fa-paperclip"/>
- <span class="o_chatter_attachment_button_count">
+ <span t-if="displayCounter" class="o_chatter_attachment_button_count">
<t t-esc="count"/>
</span>
</span>