luci-app-mwan3: do not show mwan3 status in overview if not enabled
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 30 Jan 2018 06:06:55 +0000 (07:06 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 5 Feb 2018 09:45:16 +0000 (10:45 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm

index d76db724bd504bf463af428e9a4e10362c9989d3..e4b3c06999ec15a9b4e7c8d75002415d64462112 100644 (file)
@@ -1 +1,3 @@
+<%if require("luci.sys").init.enabled("mwan3") then%>
 <%+mwan/overview_status_interface%>
+<%end%>