admin_network: interface details, implement back to overview 320/head
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Sun, 8 Feb 2015 18:17:09 +0000 (19:17 +0100)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Sun, 8 Feb 2015 18:17:44 +0000 (19:17 +0100)
Implements "Back to Overview" on interface details page

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index eabb257680524bdc612abb0c1b679c2801c6de60..c2e5c72285dcd9b2a972dae8b36d4d0ba5b4d97a 100644 (file)
@@ -14,6 +14,7 @@ local has_dnsmasq  = fs.access("/etc/config/dhcp")
 local has_firewall = fs.access("/etc/config/firewall")
 
 m = Map("network", translate("Interfaces") .. " - " .. arg[1]:upper(), translate("On this page you can configure the network interfaces. You can bridge several interfaces by ticking the \"bridge interfaces\" field and enter the names of several network interfaces separated by spaces. You can also use <abbr title=\"Virtual Local Area Network\">VLAN</abbr> notation <samp>INTERFACE.VLANNR</samp> (<abbr title=\"for example\">e.g.</abbr>: <samp>eth0.1</samp>)."))
+m.redirect = luci.dispatcher.build_url("admin", "network", "network")
 m:chain("wireless")
 
 if has_firewall then