[IMP] note: Improve notes kanban card layout
Purpose of the task is to fix layout of kanban view in notes. Currently the kanban view of the note is having bad layout of activity. The activity is shown under the note and at left side. After this commit, it will fixes the layout by setting the float-right and mr4 in div of activity_ids and remove unnecessary div of it and also adding the spaces above the images. closes odoo/odoo#44445 Taskid: 2186292 Closes: #44445 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
committed by
Yannick Tivisse
parent
1959e7756a
commit
5e4ddfaacf
@@ -113,16 +113,14 @@
|
||||
<span t-attf-class="oe_kanban_content #{record.open.raw_value ? '' : 'note_text_line_through'}">
|
||||
<!-- title -->
|
||||
<field name="name"/>
|
||||
<div class="oe_kanban_bottom_right">
|
||||
<div class="o_kanban_inline_block mr4">
|
||||
<field name="activity_ids" widget="kanban_activity" />
|
||||
</div>
|
||||
<div class="o_kanban_inline_block float-right mr4">
|
||||
<field name="activity_ids" widget="kanban_activity" />
|
||||
</div>
|
||||
</span>
|
||||
<t t-if="record.message_partner_ids.raw_value.length > 1">
|
||||
<div class="clearfix"></div>
|
||||
<t t-foreach="record.message_partner_ids.raw_value" t-as="follower">
|
||||
<img t-att-src="kanban_image('res.partner', 'image_128', follower)" class="oe_kanban_avatar o_image_24_cover float-right" t-att-data-member_id="follower" alt="Follower"/>
|
||||
<img t-att-src="kanban_image('res.partner', 'image_128', follower)" class="oe_kanban_avatar o_image_24_cover float-right mt-2" t-att-data-member_id="follower" alt="Follower"/>
|
||||
</t>
|
||||
<div class="clearfix"></div>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user