[FIX] hr_recruitment: fix layout issues
Make the kanban ribbon smaller and purple Move categ_ids closes odoo/odoo#37349 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -11,12 +11,19 @@
|
||||
}
|
||||
|
||||
span {
|
||||
padding: 10px;
|
||||
background-color: $o-brand-odoo;
|
||||
padding: 5px;
|
||||
font-size: small;
|
||||
z-index: unset;
|
||||
}
|
||||
}
|
||||
.ribbon-top-right {
|
||||
margin-top: -$o-kanban-dashboard-vpadding;
|
||||
|
||||
span {
|
||||
left: 0px;
|
||||
right: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -103,10 +103,6 @@
|
||||
<label for="partner_name" class="oe_edit_only"/>
|
||||
<field name="partner_name"/>
|
||||
</div>
|
||||
<div>
|
||||
<label for="categ_ids" class="oe_edit_only"/>
|
||||
<field name="categ_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_create_edit': True}"/>
|
||||
</div>
|
||||
</h2>
|
||||
</div>
|
||||
<group>
|
||||
@@ -119,6 +115,7 @@
|
||||
<field name="type_id" placeholder="Degree"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="categ_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_create_edit': True}"/>
|
||||
<field name="user_id"/>
|
||||
<field name="priority" widget="priority"/>
|
||||
<field name="medium_id" groups="base.group_no_one" />
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<xpath expr="//div[hasclass('o_kanban_card_header')]" position="before">
|
||||
<field name="website_published" invisible="1"/>
|
||||
<div class="ribbon ribbon-top-right" attrs="{'invisible': [('website_published', '=', False)]}">
|
||||
<span class="bg-success">Published</span>
|
||||
<span class="o_recruitment_purple">Published</span>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@name='kanban_boxes']/div/div[1]" position="inside">
|
||||
|
||||
Reference in New Issue
Block a user