From bdcb760d6214cb9011f4a6fa20a56fa959bc696f Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Fri, 3 Apr 2020 12:50:10 +0000 Subject: luci-app-https-dns-proxy: better service control & buttons styling Signed-off-by: Stan Grishin --- .../luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applications/luci-app-https-dns-proxy/luasrc/model/cbi') diff --git a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua index 11eca60399..405eb2a846 100644 --- a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua +++ b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua @@ -35,6 +35,9 @@ else if not ubusStatus or not ubusStatus[packageName] then tmpfsStatusCode = 0 tmpfsStatus = translate("Stopped") + if not luci.sys.init.enabled(packageName) then + tmpfsStatus = tmpfsStatus .. " (" .. translate("disabled") .. ")" + end else tmpfsStatusCode, tmpfsStatus = 1, "" for n = 1,1000 do -- cgit v1.2.3