[FIX] board: add extra info
When an element is added to the dashboard, it is unclear to the user that he needs to refresh the browser for the changes to take effect. opw-1853242
This commit is contained in:
committed by
Nicolas Martinelli
parent
2c91f37e38
commit
9d85fea1c3
@@ -120,6 +120,13 @@ msgstr ""
|
||||
msgid "My Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#. module: board
|
||||
#. openerp-web
|
||||
#: code:addons/board/static/src/js/favorite_menu.js:99
|
||||
#, python-format
|
||||
msgid "Please refresh your browser for the changes to take effect."
|
||||
msgstr ""
|
||||
|
||||
#. module: board
|
||||
#: model:ir.actions.act_window,help:board.open_board_my_dash_action
|
||||
msgid "To add your first report into this dashboard, go to any\n"
|
||||
|
||||
@@ -94,7 +94,10 @@ FavoriteMenu.include({
|
||||
})
|
||||
.then(function (r) {
|
||||
if (r) {
|
||||
self.do_notify(_.str.sprintf(_t("'%s' added to dashboard"), name), '');
|
||||
self.do_notify(
|
||||
_.str.sprintf(_t("'%s' added to dashboard"), name),
|
||||
_t('Please refresh your browser for the changes to take effect.')
|
||||
);
|
||||
} else {
|
||||
self.do_warn(_t("Could not add filter to dashboard"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user