diff options
author | Ingo Heinrich <ingo-github@goheinrich.de> | 2023-03-04 12:17:50 +0100 |
---|---|---|
committer | Ingo Heinrich <ingo-github@goheinrich.de> | 2023-03-04 12:17:50 +0100 |
commit | 8c7c56f4e415a3b80bf91c98aa02a638111bef51 (patch) | |
tree | 21b06fd19dcb759d06d255e922fd88fba525e2d6 /modules | |
parent | 3129c0b369774064ba2f23baba068282b25484ea (diff) |
luci-mod-status: nftables add counter and comment for empty match
Signed-off-by: Ingo Heinrich <ingo-github@goheinrich.de>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js index d5faedc4dc..d891526d04 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js @@ -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; }, |