diff options
author | Self-Hosting-Group <selfhostinggroup-git+openwrt@shost.ing> | 2024-11-29 00:00:00 +0000 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-30 05:12:16 +0100 |
commit | 4024dfa3020868638869316f43968e62697868e1 (patch) | |
tree | dcdb75ba797f59aa937a4d89ab6604498d300850 /applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include | |
parent | a30ae19006cad444e18b10a5e42a35436a59133e (diff) |
luci-app-upnp: Finalise changes for OpenWrt 24.10 release
Closes #7407
Signed-off-by: Self-Hosting-Group <selfhostinggroup-git+openwrt@shost.ing>
Signed-off-by: Paul Donald <newtwen+github@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 | 16 |
1 files changed, 8 insertions, 8 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 1fbb440b4c..3173fb35bc 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 @@ -28,7 +28,7 @@ handleDelRule = function(num, ev) { }; return baseclass.extend({ - title: _('Active Port Forwards'), + title: _('Active UPnP IGD & PCP/NAT-PMP Port Maps'), load: function() { return Promise.all([ @@ -40,11 +40,11 @@ return baseclass.extend({ var table = E('table', { 'class': 'table', 'id': 'upnp_status_table' }, [ E('tr', { 'class': 'tr table-titles' }, [ - E('th', { 'class': 'th' }, _('Protocol')), - E('th', { 'class': 'th' }, _('External Port')), + E('th', { 'class': 'th' }, _('Client Name')), E('th', { 'class': 'th' }, _('Client Address')), - E('th', { 'class': 'th' }, _('Host')), E('th', { 'class': 'th' }, _('Client Port')), + E('th', { 'class': 'th' }, _('External Port')), + E('th', { 'class': 'th' }, _('Protocol')), E('th', { 'class': 'th' }, _('Description')), E('th', { 'class': 'th cbi-section-actions' }, '') ]) @@ -54,11 +54,11 @@ return baseclass.extend({ var rows = rules.map(function(rule) { return [ - rule.proto, - rule.extport, - rule.intaddr, rule.host_hint || _('Unknown'), + rule.intaddr, rule.intport, + rule.extport, + rule.proto, rule.descr, E('button', { 'class': 'btn cbi-button-remove', @@ -67,7 +67,7 @@ return baseclass.extend({ ]; }); - cbi_update_table(table, rows, E('em', _('There are no active port forwards.'))); + cbi_update_table(table, rows, E('em', _('There are no active port maps.'))); return table; } |