summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-07-28 23:26:59 +0000
committerStan Grishin <stangri@melmac.ca>2023-07-28 23:30:24 +0000
commit8001cc5f2fce4b54fccca46157d42cbfca9f5894 (patch)
tree6bf2c4f1478c073474dd52e1bfa50ee18e5fb365 /applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
parent68a671d2dabde5a776d377fd3fd1abf1c3ab30e3 (diff)
luci-app-simple-adblock: bugfix: unsupported DNS options display
* bugfix: move the break tag in front of the unsupported DNS options to pretty up the output * use pkg.Name in RPCD calls * slightly change the version display in WebUI to make it consistent with other packages Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js')
-rw-r--r--applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js b/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
index 8dd94cc1cf..c0066dd100 100644
--- a/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
+++ b/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
@@ -21,7 +21,7 @@ return view.extend({
render: function () {
return Promise.all([
- L.resolveDefault(adb.getPlatformSupport(), {}),
+ L.resolveDefault(adb.getPlatformSupport(pkg.Name), {}),
]).then(function (data) {
var replyPlatform = data[0];
var status, m, s, o;
@@ -71,10 +71,10 @@ return view.extend({
}
else {
if (!(replyPlatform[pkg.Name].dnsmasq_ipset_support)) {
- text += _("Please note that %s is not supported on this system.").format("<i>dnsmasq.ipset</i>") + "<br />";
+ text += "<br />" + _("Please note that %s is not supported on this system.").format("<i>dnsmasq.ipset</i>");
}
if (!(replyPlatform[pkg.Name].dnsmasq_nftset_support)) {
- text += _("Please note that %s is not supported on this system.").format("<i>dnsmasq.nftset</i>") + "<br />";
+ text += "<br />" + _("Please note that %s is not supported on this system.").format("<i>dnsmasq.nftset</i>");
}
}
if (!(replyPlatform[pkg.Name].unbound_installed)) {