luci-app-mwan3: unify header in configuration tab
[project/luci.git] / applications / luci-app-mwan3 / luasrc / model / cbi / mwan / interface.lua
index 5ee5fb3..4f5dc75 100644 (file)
@@ -98,12 +98,12 @@ errorRouteList = " "
 interfaceCheck()
 
 
-m5 = Map("mwan3", translate("MWAN Interface Configuration"),
+m5 = Map("mwan3", translate("MWAN - Interfaces"),
        interfaceWarnings())
        m5:append(Template("mwan/config_css"))
 
 
-mwan_interface = m5:section(TypedSection, "interface", translate("Interfaces"),
+mwan_interface = m5:section(TypedSection, "interface", nil,
        translate("MWAN supports up to 250 physical and/or logical interfaces<br />" ..
        "MWAN requires that all interfaces have a unique metric configured in /etc/config/network<br />" ..
        "Names must match the interface name found in /etc/config/network (see advanced tab)<br />" ..
@@ -114,11 +114,11 @@ mwan_interface = m5:section(TypedSection, "interface", translate("Interfaces"),
        mwan_interface.sectionhead = translate("Interface")
        mwan_interface.sortable = false
        mwan_interface.template = "cbi/tblsection"
-       mwan_interface.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "interface", "%s")
+       mwan_interface.extedit = dsp.build_url("admin", "network", "mwan", "interface", "%s")
        function mwan_interface.create(self, section)
                TypedSection.create(self, section)
                m5.uci:save("mwan3")
-               luci.http.redirect(dsp.build_url("admin", "network", "mwan", "configuration", "interface", section))
+               luci.http.redirect(dsp.build_url("admin", "network", "mwan", "interface", section))
        end