luci-app-wman3: show info if mwan3 is not global enabled
[project/luci.git] / applications / luci-app-mwan3 / luasrc / view / mwan / status_interface.htm
index a796af8..21e59a8 100644 (file)
@@ -66,6 +66,9 @@
 
 <div class="cbi-map">
        <h2 name="content"><%:MWAN Status - Interface%></h2>
+       <%if not require("luci.sys").init.enabled("mwan3") then%>
+       <div><strong><%:INFO: MWAN not running%></strong></div>
+       <%end%>
        <fieldset class="cbi-section">
                <legend id="diag-rc-legend"><%:Collecting data...%></legend>
                <span id="diag-rc-output">