From: Florian Eckert Date: Tue, 30 Jan 2018 06:06:55 +0000 (+0100) Subject: luci-app-mwan3: do not show mwan3 status in overview if not enabled X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83cec9277da2ec6cfbbec5f6397226aa9a65a964;p=oweals%2Fluci.git luci-app-mwan3: do not show mwan3 status in overview if not enabled Signed-off-by: Florian Eckert --- 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 d76db724b..e4b3c0699 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%>