summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/xml/web_graph.xml
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-12-24 16:37:35 +0100
committerGery Debongnie <ged@openerp.com>2013-12-24 16:37:35 +0100
commitd145c7a8c4bd828d741fdd6fd9f3d8d0fee0fa84 (patch)
treed92b09da6aa399a96a3b8415933d57cca178f074 /addons/web_graph/static/src/xml/web_graph.xml
parent69f6efa000e5368462fa3a0c66577d0f405334f0 (diff)
[IMP] displays a nice message when the graph view has no data to display (addon web_graph)
bzr revid: ged@openerp.com-20131224153735-on6cx12v7x2r1ln0
Diffstat (limited to 'addons/web_graph/static/src/xml/web_graph.xml')
-rw-r--r--addons/web_graph/static/src/xml/web_graph.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/xml/web_graph.xml b/addons/web_graph/static/src/xml/web_graph.xml
index c96ce941767..8c1791d80d5 100644
--- a/addons/web_graph/static/src/xml/web_graph.xml
+++ b/addons/web_graph/static/src/xml/web_graph.xml
@@ -52,4 +52,13 @@
</ul>
</div>
+ <div t-name="graph_no_data" class="oe_view_nocontent" >
+ <p class="oe_view_nocontent_create">
+ No data to display.
+ </p>
+ <p>
+ No data are available. Try to add some records, or make sure
+ that there is no active filter in the search bar.
+ </p>
+ </div>
</templates>