[IMP] im_livechat: move input_placeholder
In order for the user to understand what the chat_input_placeholder field means we should add a tooltip. We should reorganize the fields in order to put them in logical order. This commit is related to task 1837812. Closes #24336
This commit is contained in:
committed by
RomainLibert
parent
2b8bd4d9c1
commit
71f80c1383
@@ -30,7 +30,7 @@ class ImLivechatChannel(models.Model):
|
||||
help="Default text displayed on the Livechat Support Button")
|
||||
default_message = fields.Char('Welcome Message', default='How may I help you?',
|
||||
help="This is an automated 'welcome' message that your visitor will see when they initiate a new conversation.")
|
||||
input_placeholder = fields.Char('Chat Input Placeholder')
|
||||
input_placeholder = fields.Char('Chat Input Placeholder', help='Text that prompts the user to initiate the chat.')
|
||||
|
||||
# computed fields
|
||||
web_page = fields.Char('Web Page', compute='_compute_web_page_link', store=False, readonly=True,
|
||||
|
||||
@@ -124,8 +124,8 @@
|
||||
</group>
|
||||
<group string="Options">
|
||||
<field name="button_text"/>
|
||||
<field name="input_placeholder"/>
|
||||
<field name="default_message" placeholder="e.g. Hello, how may I help you?"/>
|
||||
<field name="input_placeholder"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user