Graph node must be named "graph" to work with magic in luci_statistics
authorSteven Barth <steven@midlink.org>
Mon, 15 Sep 2008 23:46:29 +0000 (23:46 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 15 Sep 2008 23:46:29 +0000 (23:46 +0000)
modules/freifunk/luasrc/controller/freifunk/freifunk.lua

index 096f5b7e59c019b2557163ff39858a0490fe32c7..3d4bf1cb75b3480cb61de8d7a82cb4f9e319cb46 100644 (file)
@@ -49,7 +49,7 @@ function index()
        assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, "OLSR", 30)
        
        if luci.fs.isfile("/etc/config/luci_statistics") then
-               assign({"freifunk", "statistics"}, {"admin", "statistics", "graph"}, i18n("stat_statistics", "Statistiken"), 40)
+               assign({"freifunk", "graph"}, {"admin", "statistics", "graph"}, i18n("stat_statistics", "Statistiken"), 40)
        end
        
        assign({"mini", "freifunk"}, {"admin", "freifunk"}, "Freifunk", 15)