diff --git a/src/opnsense/mvc/app/views/OPNsense/DHCPv4/leases.volt b/src/opnsense/mvc/app/views/OPNsense/DHCPv4/leases.volt
index 202447d3a..a0a002733 100644
--- a/src/opnsense/mvc/app/views/OPNsense/DHCPv4/leases.volt
+++ b/src/opnsense/mvc/app/views/OPNsense/DHCPv4/leases.volt
@@ -85,10 +85,14 @@
},
formatters: {
"macformatter": function (column, row) {
+ let mac = '' + row.mac + '';
if (row.man != '') {
- return row.mac + '
' + '' + row.man + '';
+ mac = mac + '
' + '' + row.man + '';
}
- return row.mac;
+ return mac;
+ },
+ "tooltipformatter": function (column, row) {
+ return '' + row[column.id] + '
'
},
"statusformatter": function (column, row) {
let connected = row.status == 'online' ? 'text-success' : 'text-danger';
@@ -131,6 +135,14 @@
});
+
+
@@ -148,12 +160,12 @@
| {{ lang._('Interface') }} |
- {{ lang._('IP Address') }} |
- {{ lang._('MAC Address') }} |
- {{ lang._('Hostname') }} |
- {{ lang._('Description') }} |
- {{ lang._('Start') }} |
- {{ lang._('End') }} |
+ {{ lang._('IP Address') }} |
+ {{ lang._('MAC Address') }} |
+ {{ lang._('Hostname') }} |
+ {{ lang._('Description') }} |
+ {{ lang._('Start') }} |
+ {{ lang._('End') }} |
{{ lang._('Status') }} |
{{ lang._('State') }} |
{{ lang._('Lease Type') }} |
diff --git a/src/opnsense/mvc/app/views/OPNsense/DHCPv6/leases.volt b/src/opnsense/mvc/app/views/OPNsense/DHCPv6/leases.volt
index f63ef1248..10f26a445 100644
--- a/src/opnsense/mvc/app/views/OPNsense/DHCPv6/leases.volt
+++ b/src/opnsense/mvc/app/views/OPNsense/DHCPv6/leases.volt
@@ -86,10 +86,14 @@
},
formatters: {
"macformatter": function (column, row) {
+ let mac = '' + row.mac + '';
if (row.man != '') {
- return row.mac + '
' + '' + row.man + '';
+ mac = mac + '
' + '' + row.man + '';
}
- return row.mac;
+ return mac;
+ },
+ "tooltipformatter": function (column, row) {
+ return '' + row[column.id] + '
'
},
"statusformatter": function (column, row) {
let connected = row.status == 'online' ? 'text-success' : 'text-danger';
@@ -124,6 +128,8 @@
}
}
}
+ }).on("loaded.rs.jquery.bootgrid", function (e) {
+ $(".lease-tooltip").tooltip({placement: "auto left"});
});
$("#grid-prefixes").UIBootgrid({
@@ -143,6 +149,14 @@
});
+
+
- {{ lang._('Leases') }}
- {{ lang._('Delegated Prefixes') }}
@@ -164,13 +178,13 @@
| {{ lang._('Interface') }} |
- {{ lang._('IP Address') }} |
- {{ lang._('IAID') }} |
- {{ lang._('DUID') }} |
- {{ lang._('MAC Address') }} |
- {{ lang._('Description') }} |
- {{ lang._('Last Transaction Time') }} |
- {{ lang._('End') }} |
+ {{ lang._('IP Address') }} |
+ {{ lang._('IAID') }} |
+ {{ lang._('DUID') }} |
+ {{ lang._('MAC Address') }} |
+ {{ lang._('Description') }} |
+ {{ lang._('Last Transaction Time') }} |
+ {{ lang._('End') }} |
{{ lang._('Status') }} |
{{ lang._('State') }} |
{{ lang._('Lease Type') }} |