applications/luci-vnstat: move to status menu
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 3 May 2011 21:52:19 +0000 (21:52 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 3 May 2011 21:52:19 +0000 (21:52 +0000)
applications/luci-vnstat/luasrc/controller/vnstat.lua

index e6f04c80f81f0be670d0a98df359a5032c31ce84..605f799dcb64cacbb072034d5e3a46b9a9a245c1 100644 (file)
@@ -4,9 +4,9 @@ function index()
        require("luci.i18n").loadc("vnstat")
        local i18n = luci.i18n.translate
 
-       entry({"admin", "network", "vnstat"}, alias("admin", "network", "vnstat", "graphs"), i18n("VnStat Traffic Monitor"), 90).i18n = "vnstat"
-       entry({"admin", "network", "vnstat", "graphs"}, template("vnstat"), i18n("Graphs"), 1)
-       entry({"admin", "network", "vnstat", "config"}, cbi("vnstat"), i18n("Configuration"), 2)
+       entry({"admin", "status", "vnstat"}, alias("admin", "status", "vnstat", "graphs"), i18n("VnStat Traffic Monitor"), 90).i18n = "vnstat"
+       entry({"admin", "status", "vnstat", "graphs"}, template("vnstat"), i18n("Graphs"), 1)
+       entry({"admin", "status", "vnstat", "config"}, cbi("vnstat"), i18n("Configuration"), 2)
 
        entry({"mini", "network", "vnstat"}, alias("mini", "network", "vnstat", "graphs"), i18n("VnStat Traffic Monitor"), 90).i18n = "vnstat"
        entry({"mini", "network", "vnstat", "graphs"}, template("vnstat"), i18n("Graphs"), 1)