git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
4437b6b
)
luci-base: show default forwarding target in general firewall settings
author
Florian Eckert
<redacted>
Fri, 13 Nov 2020 14:49:01 +0000
(15:49 +0100)
committer
Paul Donald
<redacted>
Wed, 23 Oct 2024 00:38:01 +0000
(
02:38
+0200)
Signed-off-by: Florian Eckert <redacted>
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
index d946d0e0936834f31b4156278d7b1018c265060d..0ba07afcde8acd848d60b0b5b6df91d5d8da3602 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
@@
-322,6
+322,9
@@
var CBIZoneForwards = form.DummyValue.extend({
if (!dzones.length)
dzones.push(E('label', { 'class': 'zonebadge zonebadge-empty' },
E('strong', this.defaults.getForward())));
+ else
+ dzones.push(E('label', { 'class': 'zonebadge zonebadge-empty' },
+ E('strong', '%s %s'.format(this.defaults.getForward(), ('all others')))));
return E('div', { 'class': 'zone-forwards' }, [
E('div', { 'class': 'zone-src' }, this.renderZone(zone)),
git clone https://git.99rst.org/PROJECT