diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-11-30 14:53:50 +0200 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-30 19:06:51 +0100 |
commit | 7a7f9ec0b76489e4a147f5c493d7345e89e9c387 (patch) | |
tree | 8ad83ea6a3ca3d8ab00ca58dc5a8159e3b1210b1 /applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include | |
parent | 98c04137b47dd5253cdfcf18e5b4ad6e68258c46 (diff) |
luci-app-upnp: remove dangling lines and split translations
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include')
-rw-r--r-- | applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js b/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js index 3173fb35bc..dcb6963734 100644 --- a/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js +++ b/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js @@ -37,7 +37,6 @@ return baseclass.extend({ }, render: function(data) { - var table = E('table', { 'class': 'table', 'id': 'upnp_status_table' }, [ E('tr', { 'class': 'tr table-titles' }, [ E('th', { 'class': 'th' }, _('Client Name')), @@ -51,7 +50,6 @@ return baseclass.extend({ ]); var rules = Array.isArray(data[0].rules) ? data[0].rules : []; - var rows = rules.map(function(rule) { return [ rule.host_hint || _('Unknown'), @@ -66,9 +64,7 @@ return baseclass.extend({ }, [ _('Delete') ]) ]; }); - cbi_update_table(table, rows, E('em', _('There are no active port maps.'))); - return table; } }); |