From: Jo-Philipp Wich Date: Tue, 3 May 2011 21:52:19 +0000 (+0000) Subject: applications/luci-vnstat: move to status menu X-Git-Tag: 0.11.0~2159 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3850aa3c7ffbee487cfc9a7903b0561e532f335;p=oweals%2Fluci.git applications/luci-vnstat: move to status menu --- diff --git a/applications/luci-vnstat/luasrc/controller/vnstat.lua b/applications/luci-vnstat/luasrc/controller/vnstat.lua index e6f04c80f..605f799dc 100644 --- a/applications/luci-vnstat/luasrc/controller/vnstat.lua +++ b/applications/luci-vnstat/luasrc/controller/vnstat.lua @@ -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)