diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-12-21 11:37:53 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-12-21 11:37:53 +0100 |
| commit | e4bf03aeaf2c8200164c27f0d93994e2c173bded (patch) | |
| tree | abce75b917f931d042dba1e34060efd625f90ed7 /addons/note/note_view.xml | |
| parent | 82a495eed52a9f42e5b88caa52c20a85f8d81ce3 (diff) | |
| parent | c298cf3250fcfa351775dc57c3b913169e30e418 (diff) | |
[MERGE] Forward port of branch saas-7 up to c298cf3
Diffstat (limited to 'addons/note/note_view.xml')
| -rw-r--r-- | addons/note/note_view.xml | 12 |
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 > 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> |
