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:
Jo-Philipp Wich 2023-03-04 14:09:18 +01:00 committed by GitHub
commit 79f7120b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -515,7 +515,7 @@ return view.extend({
}
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;
},