diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-12-18 16:15:08 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-12-18 16:15:08 +0100 |
| commit | c298cf3250fcfa351775dc57c3b913169e30e418 (patch) | |
| tree | fc1cddd472f7f049f73ef5068b24af3d46885a96 /addons/note/note_view.xml | |
| parent | dd5f6b2d9883e3d384ae0f7034b574cd6ceb84d9 (diff) | |
| parent | 7892d99f3a6340d2159bbf31508e7c903031e3ac (diff) | |
[MERGE] Forward port of 9.0 up to 7892d99f
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> |
