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
@@ -14,32 +14,80 @@ msgstr ""
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: web_notify
|
||||
#: code:addons/web_notify/models/res_users.py:23
|
||||
#: code:addons/web_notify/models/res_users.py:44
|
||||
#, python-format
|
||||
msgid "Danger"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: code:addons/web_notify/models/res_users.py:60
|
||||
#, python-format
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: code:addons/web_notify/models/res_users.py:54
|
||||
#, python-format
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_danger_channel_name
|
||||
msgid "Notify Danger Channel Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_default_channel_name
|
||||
msgid "Notify Default Channel Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_info_channel_name
|
||||
msgid "Notify Info Channel Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_success_channel_name
|
||||
msgid "Notify Success Channel Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_warning_channel_name
|
||||
msgid "Notify Warning Channel Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: code:addons/web_notify/models/res_users.py:37
|
||||
#: code:addons/web_notify/models/res_users.py:75
|
||||
#, python-format
|
||||
msgid "Sending a notification to another user is forbidden."
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: code:addons/web_notify/models/res_users.py:38
|
||||
#, python-format
|
||||
msgid "Success"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit
|
||||
msgid "Test danger notification"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit
|
||||
msgid "Test default notification"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit
|
||||
msgid "Test info notification"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit
|
||||
msgid "Test success notification"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit
|
||||
msgid "Test warning notification"
|
||||
@@ -56,7 +104,7 @@ msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_notify
|
||||
#: code:addons/web_notify/models/res_users.py:29
|
||||
#: code:addons/web_notify/models/res_users.py:50
|
||||
#, python-format
|
||||
msgid "Warning"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user