mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[12.0] web_notify: improve popup UI (#1231)
* [ADD]: all available bootstrap notifications (success/danger/warning/info/default) * [IMP] use black color for text for default notification. * [FIX] reverted require string for `bus.Longpolling` and rename `on_message_received` to `on_message` to prevent collisions.
This commit is contained in:
committed by
David
parent
af2656ba00
commit
3db7072296
@@ -11,9 +11,15 @@
|
||||
<page string="Test web notify" name="test_web_notify">
|
||||
<group>
|
||||
<group>
|
||||
<button name="notify_info"
|
||||
<button name="notify_success"
|
||||
type="object"
|
||||
string="Test info notification"
|
||||
string="Test success notification"
|
||||
class="oe_highlight"/>
|
||||
</group>
|
||||
<group>
|
||||
<button name="notify_danger"
|
||||
type="object"
|
||||
string="Test danger notification"
|
||||
class="oe_highlight"/>
|
||||
</group>
|
||||
<group>
|
||||
@@ -22,6 +28,18 @@
|
||||
string="Test warning notification"
|
||||
class="oe_highlight"/>
|
||||
</group>
|
||||
<group>
|
||||
<button name="notify_info"
|
||||
type="object"
|
||||
string="Test info notification"
|
||||
class="oe_highlight"/>
|
||||
</group>
|
||||
<group>
|
||||
<button name="notify_default"
|
||||
type="object"
|
||||
string="Test default notification"
|
||||
class="oe_highlight"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user