summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/chatter.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-02-26 16:39:30 +0100
committerChristophe Simonis <chs@odoo.com>2019-02-26 16:39:30 +0100
commitff9c9341d6ed4e9ab18a0aa02e79441999d658f1 (patch)
tree47ffd01e071d3783cff6013cfc4b6c3d8e47a841 /addons/mail/static/src/xml/chatter.xml
parentbc84fdf71b15ad419f8693861aea682ee751f85c (diff)
parentfcb972db9dc778eeaf7d6b6ba3638c78d93998ad (diff)
[MERGE] forward port branch saas-12.2 up to fcb972db9dc
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>