diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2015-12-11 02:00:36 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2015-12-11 02:00:36 +0100 |
| commit | 147a4efaeaba2d89872815f106e5b295a99c2b5e (patch) | |
| tree | 2dbd1a6c8649e4ff95490ec8a0c18f5d27a96014 /addons/note/note_view.xml | |
| parent | 3d32e9966500290f35e6edfebf97b9a60a1fc495 (diff) | |
[IMP] Cleaning notes
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> |
