Merge pull request #320 from chris5560/master
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Feb 2015 18:22:45 +0000 (19:22 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Feb 2015 18:22:45 +0000 (19:22 +0100)
admin_network: interface details, implement "Back to Overview" button

modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index eabb257..c2e5c72 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