From ac34cb5938157eb217f4b9eda9fdae7128b8043d Mon Sep 17 00:00:00 2001 From: Munaf Khan Date: Fri, 30 Jul 2021 12:18:00 +0000 Subject: [PATCH] [IMP] web,base: improve UI of no content helper in settings Currently, empty screen of the settings is not very beautiful without proper action helper and decoration. It displays only 'no record found' string when no setting is found for the search string. With this commit, we make the no content helper for the settings consistent with other apps. It now displays empty folder and proper helper message. TaskID-2588387 closes odoo/odoo#74570 Signed-off-by: Thibault Delavallee (tde) --- addons/web/static/src/legacy/scss/base_settings.scss | 7 ------- odoo/addons/base/views/res_config_settings_views.xml | 12 +++++++++++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/addons/web/static/src/legacy/scss/base_settings.scss b/addons/web/static/src/legacy/scss/base_settings.scss index 6509fced7ef..b8bcbd90dc1 100644 --- a/addons/web/static/src/legacy/scss/base_settings.scss +++ b/addons/web/static/src/legacy/scss/base_settings.scss @@ -140,13 +140,6 @@ } } - .notFound { - color : $text-muted; - text-align: center; - font-size: 25px; - padding-top: 50px; - } - .highlighter { background: yellow; } diff --git a/odoo/addons/base/views/res_config_settings_views.xml b/odoo/addons/base/views/res_config_settings_views.xml index 13234e2bd14..3e5369089a3 100644 --- a/odoo/addons/base/views/res_config_settings_views.xml +++ b/odoo/addons/base/views/res_config_settings_views.xml @@ -24,7 +24,17 @@
-
No Record Found
+
+
+
+

+ No setting found +

+ Try searching for another keyword +

+
+
+