[IMP] project: Display the favorite icon front of the project card
This commit is contained in:
@@ -21,8 +21,14 @@
|
||||
}
|
||||
|
||||
.o_project_kanban_manage {
|
||||
.o-position-absolute(@bottom: 0, @left: 0);
|
||||
padding: @odoo-horizontal-padding/2 @odoo-horizontal-padding;
|
||||
.o_left {
|
||||
.o-position-absolute(@bottom: 0, @left: 0);
|
||||
padding: @odoo-horizontal-padding/2 @odoo-horizontal-padding;
|
||||
}
|
||||
.o_right {
|
||||
.o-position-absolute(@bottom: 0, @right: 30%);
|
||||
padding: @odoo-horizontal-padding/2 @odoo-horizontal-padding;
|
||||
}
|
||||
.o_kanban_manage_toggle_button:not(:hover) {
|
||||
color: @odoo-main-text-color;
|
||||
}
|
||||
@@ -33,7 +39,7 @@
|
||||
}
|
||||
|
||||
.o_dashboard_star {
|
||||
font-size: 12px;
|
||||
font-size: 16px;
|
||||
|
||||
&.fa-star-o {
|
||||
color: @odoo-main-color-muted;
|
||||
|
||||
@@ -260,12 +260,10 @@
|
||||
<div t-if="widget.editable" class="o_project_kanban_colorpicker">
|
||||
<ul class="oe_kanban_colorpicker" data-field="color"/>
|
||||
</div>
|
||||
<div>
|
||||
<a type="object" name="toggle_favorite"><i t-attf-class="fa o_dashboard_star #{record.is_favorite.raw_value ? 'fa-star' : 'fa-star-o'}" title="Click to add/remove from favorite"/> Favorite</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="o_project_kanban_manage">
|
||||
<a class="o_kanban_manage_toggle_button" href="#">More <i class="fa fa-caret-down"/></a>
|
||||
<a class="o_kanban_manage_toggle_button o_left" href="#">More <i class="fa fa-caret-down"/></a>
|
||||
<a type="object" name="toggle_favorite" class="o_right"><i t-attf-class="oe_inline fa o_dashboard_star #{record.is_favorite.raw_value ? 'fa-star' : 'fa-star-o'}" title="Add/remove from favorite"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user