luci-mod-status: nftables add counter and comment for empty match
Signed-off-by: Ingo Heinrich <ingo-github@goheinrich.de>
This commit is contained in:
parent
3129c0b369
commit
8c7c56f4e4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue