summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-01-30 07:06:55 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-02-05 10:45:16 +0100
commit83cec9277da2ec6cfbbec5f6397226aa9a65a964 (patch)
treefa1e2345a6e0c26eca4ffac991f6f76367b985cb /applications/luci-app-mwan3/luasrc
parent0c3bd5c537d0a01e9bd95edb60a21b978969b241 (diff)
luci-app-mwan3: do not show mwan3 status in overview if not enabled
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc')
-rw-r--r--applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm b/applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm
index d76db724bd..e4b3c06999 100644
--- a/applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm
+++ b/applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm
@@ -1 +1,3 @@
+<%if require("luci.sys").init.enabled("mwan3") then%>
<%+mwan/overview_status_interface%>
+<%end%>