mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
luci-mod-status: fix table headings
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 <david@hardeman.nu>
This commit is contained in:
@@ -110,7 +110,7 @@ return baseclass.extend({
|
|||||||
E('th', { 'class': 'th' }, _('IPv4 address')),
|
E('th', { 'class': 'th' }, _('IPv4 address')),
|
||||||
E('th', { 'class': 'th' }, _('MAC address')),
|
E('th', { 'class': 'th' }, _('MAC address')),
|
||||||
E('th', { 'class': 'th' }, _('DUID')),
|
E('th', { 'class': 'th' }, _('DUID')),
|
||||||
E('th', { 'class': 'th' }, _('Lease time remaining')),
|
E('th', { 'class': 'th' }, _('Remaining time')),
|
||||||
isReadonlyView ? E([]) : E('th', { 'class': 'th cbi-section-actions' }, _('Static Lease'))
|
isReadonlyView ? E([]) : E('th', { 'class': 'th cbi-section-actions' }, _('Static Lease'))
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
@@ -163,7 +163,7 @@ return baseclass.extend({
|
|||||||
E('th', { 'class': 'th' }, _('IPv6 addresses')),
|
E('th', { 'class': 'th' }, _('IPv6 addresses')),
|
||||||
E('th', { 'class': 'th' }, _('DUID')),
|
E('th', { 'class': 'th' }, _('DUID')),
|
||||||
E('th', { 'class': 'th' }, _('IAID')),
|
E('th', { 'class': 'th' }, _('IAID')),
|
||||||
E('th', { 'class': 'th' }, _('Lease time remaining')),
|
E('th', { 'class': 'th' }, _('Remaining time')),
|
||||||
isReadonlyView ? E([]) : E('th', { 'class': 'th cbi-section-actions' }, _('Static Lease'))
|
isReadonlyView ? E([]) : E('th', { 'class': 'th cbi-section-actions' }, _('Static Lease'))
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
@@ -221,7 +221,7 @@ return baseclass.extend({
|
|||||||
}, this)), E('em', _('There are no active leases')));
|
}, this)), E('em', _('There are no active leases')));
|
||||||
|
|
||||||
return E([
|
return E([
|
||||||
E('h3', _('Active DHCP Leases')),
|
E('h3', _('Active DHCPv4 Leases')),
|
||||||
table,
|
table,
|
||||||
E('h3', _('Active DHCPv6 Leases')),
|
E('h3', _('Active DHCPv6 Leases')),
|
||||||
table6
|
table6
|
||||||
|
|||||||
Reference in New Issue
Block a user