summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc/model/cbi
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2021-03-09 20:35:09 -0800
committerGitHub <noreply@github.com>2021-03-09 20:35:09 -0800
commitb79a41c4939ff78fc95a786f37272905b427173d (patch)
treeea3434d1822444deb2f0f6a1c2d1c679726e5358 /applications/luci-app-vpn-policy-routing/luasrc/model/cbi
parent2516852100eb6b115c0ad90883dfc5cfda16e076 (diff)
parentb741adfb35bd0505215170720dd21ed40897e17f (diff)
Merge pull request #4888 from stangri/master-luci-app-vpn-policy-routing
luci-app-vpn-policy-routing: bugfix: template layout on theme-openwrt-2020
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc/model/cbi')
-rw-r--r--applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua b/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
index 8be8df7b96..82d90e9bf8 100644
--- a/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
+++ b/applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
@@ -132,7 +132,7 @@ m = Map("vpn-policy-routing", translate("VPN and WAN Policy-Based Routing"))
h = m:section(NamedSection, "config", packageName, translatef("Service Status [%s %s]", packageName, packageVersion))
status = h:option(DummyValue, "_dummy", translate("Service Status"))
-status.template = "vpn-policy-routing/status-service"
+status.template = "vpn-policy-routing/status"
status.value = statusText
if serviceRunning and serviceGateways and serviceGateways ~= "" then
gateways = h:option(DummyValue, "_dummy", translate("Service Gateways"))
@@ -150,7 +150,7 @@ if serviceWarnings and serviceWarnings ~= "" then
warnings.value = serviceWarnings
end
if packageVersion ~= "" then
- buttons = h:option(DummyValue, "_dummy")
+ buttons = h:option(DummyValue, "_dummy", translate("Service Control"))
buttons.template = packageName .. "/buttons"
end