diff --git a/addons/web_graph/static/src/css/graph.css b/addons/web_graph/static/src/css/graph.css index 7b3e289e548..764fcdca209 100644 --- a/addons/web_graph/static/src/css/graph.css +++ b/addons/web_graph/static/src/css/graph.css @@ -4,10 +4,6 @@ text-align: right; } -.graph_main_content .oe_view_nocontent_create:before { - background-image: none !important; -} - td.graph_border { background-color: rgb(227, 227, 227); text-align: left; diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 18432d9fa61..b56a2cde7a3 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -283,8 +283,6 @@ instance.web_graph.Graph = instance.web.Widget.extend({ } if (this.pivot.no_data) { this.$('.graph_main_content').append($(QWeb.render('graph_no_data'))); - // var msg = 'No data available. Try to remove any filter or add some data.'; - // this.table.append($('' + msg + '')); } else { var table_modes = ['pivot', 'heatmap', 'row_heatmap', 'col_heatmap']; if (_.contains(table_modes, this.mode)) { diff --git a/addons/web_graph/static/src/xml/web_graph.xml b/addons/web_graph/static/src/xml/web_graph.xml index 8c1791d80d5..262e0df4c96 100644 --- a/addons/web_graph/static/src/xml/web_graph.xml +++ b/addons/web_graph/static/src/xml/web_graph.xml @@ -53,12 +53,12 @@
-

- No data to display. -

-

- No data are available. Try to add some records, or make sure - that there is no active filter in the search bar. -

+
+

No data to display.

+

+ No data are available. Try to add some records, or make sure + that there is no active filter in the search bar. +

+