From: Steven Barth Date: Mon, 15 Sep 2008 23:46:29 +0000 (+0000) Subject: Graph node must be named "graph" to work with magic in luci_statistics X-Git-Tag: 0.9.0~1286 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c32a729fb2c88aad7bfb4d37eed52dbf1d8c8b17;p=oweals%2Fluci.git Graph node must be named "graph" to work with magic in luci_statistics --- diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua index 096f5b7e5..3d4bf1cb7 100644 --- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua +++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua @@ -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)