[FIX] {website_}event: fix input display
Purpose ======= Fix the inline input fields which width seems broken because of the new always edit mode and the new form grid layout. Specifications ============== Limit the size of the confirmed attendees input field in the event form and event type form to display the confirmed attendees message in one line. When using the debug mode, in the event templates, inline the Register Button with its checkbox to avoid line breaks. Task-2996467 X-original-commit: 60bb067b1d3df699648967ab5b2e89aa164cee52 Part-of: odoo/odoo#106570
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<label for="seats_limited" string="Limit Registrations"/>
|
||||
<div>
|
||||
<field name="seats_limited"/>
|
||||
<span attrs="{'invisible': [('seats_limited', '=', False)], 'required': [('seats_limited', '=', False)]}">to <field name="seats_max" class="oe_inline"/> Confirmed Attendees</span>
|
||||
<span attrs="{'invisible': [('seats_limited', '=', False)], 'required': [('seats_limited', '=', False)]}">to <field name="seats_max" class="oe_inline o_input_9ch"/> Confirmed Attendees</span>
|
||||
</div>
|
||||
<field name="auto_confirm"/>
|
||||
</group>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div>
|
||||
<field name="has_seats_limitation"/>
|
||||
<span attrs="{'invisible': [('has_seats_limitation', '=', False)], 'required': [('has_seats_limitation', '=', False)]}">
|
||||
to <field name="seats_max" class="oe_inline"/>
|
||||
to <field name="seats_max" class="oe_inline o_input_9ch"/>
|
||||
Confirmed Attendees
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<label for="community_menu" string="Community"/>
|
||||
<field name="community_menu"/>
|
||||
</span>
|
||||
<span name="menu_register_cta">
|
||||
<span name="menu_register_cta" class="d-inline-block">
|
||||
<label for="menu_register_cta" string="Register Button"/>
|
||||
<field name="menu_register_cta"/>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user