Mercurial > bottledash
diff views/bottledash_view.tpl @ 25:05e5441c5160
charts will now be displayed as they should!
author | sean |
---|---|
date | Fri, 14 Aug 2015 00:31:48 +0200 |
parents | 7d431b779512 |
children | af280057d5fa |
line wrap: on
line diff
--- a/views/bottledash_view.tpl Thu Aug 13 16:34:46 2015 +0200 +++ b/views/bottledash_view.tpl Fri Aug 14 00:31:48 2015 +0200 @@ -184,8 +184,8 @@ status = "dead" end - elif tile["type"] == "d3js" : - type = "chart" + elif tile["type"] == "web_view" : + type = tile["type"] uid = tile["div_name"] tile_content = web_view.make_chart(tile["script"], tile["div_name"]) end