summaryrefslogtreecommitdiff
path: root/addons/note/note_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/note/note_view.xml')
-rw-r--r--addons/note/note_view.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/addons/note/note_view.xml b/addons/note/note_view.xml
index f8923838ff6..ec63b4ed313 100644
--- a/addons/note/note_view.xml
+++ b/addons/note/note_view.xml
@@ -76,11 +76,13 @@
<!-- title -->
<field name="name"/>
</span>
- <div class="clearfix"></div>
- <t t-foreach="record.message_follower_ids.raw_value" t-as="follower">
- <img t-att-src="kanban_image('res.partner', 'image_small', follower)" width="24" height="24" class="oe_kanban_avatar pull-right" t-att-data-member_id="follower"/>
- </t>
- <div class="clearfix"></div>
+ <t t-if="record.message_follower_ids.raw_value.length &gt; 1">
+ <div class="clearfix"></div>
+ <t t-foreach="record.message_follower_ids.raw_value" t-as="follower">
+ <img t-att-src="kanban_image('res.partner', 'image_small', follower)" width="24" height="24" class="oe_kanban_avatar pull-right" t-att-data-member_id="follower"/>
+ </t>
+ <div class="clearfix"></div>
+ </t>
</div>
</t>
</templates>