mirror of https://git.openwrt.org/project/luci.git
luci-base: show default forwarding target in general firewall settings
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
4437b6bbfd
commit
5b706f52d7
|
@ -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)),
|
||||
|
|
Loading…
Reference in New Issue