From 62848505e63176b51ed61b3c63ee94f920ad27e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 30 Nov 2025 17:47:27 +0100 Subject: [PATCH] luci-mod-network: fix table headings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Shorten the lease time description (the header of the tables already says it contains DHCP leases, so "Remaining Time" is enough), make it clear that we have DHCPv4/6 leases and not DHCP/DHCPv6 leases. Signed-off-by: David Härdeman --- .../htdocs/luci-static/resources/view/network/dhcp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index b412f75407..3ed5999f3b 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -36,13 +36,13 @@ const callUfpList = rpc.declare({ const CBILeaseStatus = form.DummyValue.extend({ renderWidget(section_id, option_id, cfgvalue) { return E([ - E('h4', _('Active DHCP Leases')), + E('h4', _('Active DHCPv4 Leases')), E('table', { 'id': 'lease_status_table', 'class': 'table' }, [ E('tr', { 'class': 'tr table-titles' }, [ E('th', { 'class': 'th' }, _('Hostname')), E('th', { 'class': 'th' }, _('IPv4 address')), E('th', { 'class': 'th' }, _('MAC address')), - E('th', { 'class': 'th' }, _('Lease time remaining')) + E('th', { 'class': 'th' }, _('Remaining time')) ]), E('tr', { 'class': 'tr placeholder' }, [ E('td', { 'class': 'td' }, E('em', _('Collecting data...'))) @@ -62,7 +62,7 @@ const CBILease6Status = form.DummyValue.extend({ E('th', { 'class': 'th' }, _('IPv6 addresses')), E('th', { 'class': 'th' }, _('DUID')), E('th', { 'class': 'th' }, _('IAID')), - E('th', { 'class': 'th' }, _('Lease time remaining')) + E('th', { 'class': 'th' }, _('Remaining time')) ]), E('tr', { 'class': 'tr placeholder' }, [ E('td', { 'class': 'td' }, E('em', _('Collecting data...'))) -- 2.30.2