Skip to content

Commit

Permalink
luci-base: show default forwarding target in general firewall settings
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
  • Loading branch information
feckert authored and systemcrash committed Oct 23, 2024
1 parent 4437b6b commit 5b706f5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 5b706f5

Please sign in to comment.