Merge pull request #6275 from iheinrich/luci-mod-status/add_nftables_empty_match_counter_comment
luci-mod-status: nftables add counter and comment for empty match
This commit is contained in:
commit
79f7120b9f
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ return view.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty)
|
if (empty)
|
||||||
dom.content(row.childNodes[0], E('em', [ _('Any packet', 'nft match any traffic') ]));
|
dom.append(row.childNodes[0], E('span', { 'class': 'ifacebadge' }, '<em>%h</em>'.format(_('Any packet', 'nft match any traffic'))));
|
||||||
|
|
||||||
return row;
|
return row;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue