luci-app-wman3: show info if mwan3 is not global enabled
[project/luci.git] / applications / luci-app-mwan3 / luasrc / view / mwan / status_troubleshooting.htm
index b812e5b..77d0092 100644 (file)
@@ -28,6 +28,9 @@
 
 <div class="cbi-map">
        <h2 name="content"><%:MWAN Status - Troubleshooting%></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">