diff --git a/data/interfaces/default/js/tables/users.js b/data/interfaces/default/js/tables/users.js index 82caf116..67230361 100644 --- a/data/interfaces/default/js/tables/users.js +++ b/data/interfaces/default/js/tables/users.js @@ -90,6 +90,30 @@ users_list_table_options = { }, { "targets": [3], + "data": "username", + "createdCell": function (td, cellData, rowData, row, col) { + if (cellData !== null && cellData !== '') { + $(td).html(cellData); + } + }, + "visible": false, + "width": "10%", + "className": "no-wrap" + }, + { + "targets": [4], + "data": "email", + "createdCell": function (td, cellData, rowData, row, col) { + if (cellData !== null && cellData !== '') { + $(td).html(cellData); + } + }, + "visible": false, + "width": "10%", + "className": "no-wrap" + }, + { + "targets": [5], "data": "last_seen", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== null && cellData !== '') { @@ -103,7 +127,7 @@ users_list_table_options = { "className": "no-wrap" }, { - "targets": [4], + "targets": [6], "data": "ip_address", "createdCell": function (td, cellData, rowData, row, col) { if (cellData) { @@ -121,7 +145,7 @@ users_list_table_options = { "className": "no-wrap modal-control-ip" }, { - "targets": [5], + "targets": [7], "data": "platform", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== null && cellData !== '') { @@ -134,7 +158,7 @@ users_list_table_options = { "className": "no-wrap modal-control" }, { - "targets": [6], + "targets": [8], "data":"player", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== null && cellData !== '') { @@ -155,7 +179,7 @@ users_list_table_options = { "className": "no-wrap modal-control" }, { - "targets": [7], + "targets": [9], "data":"last_played", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== null && cellData !== '') { @@ -196,7 +220,7 @@ users_list_table_options = { "className": "datatable-wrap" }, { - "targets": [8], + "targets": [10], "data": "plays", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== null && cellData !== '') { @@ -208,7 +232,7 @@ users_list_table_options = { "className": "no-wrap" }, { - "targets": [9], + "targets": [11], "data": "duration", "createdCell": function (td, cellData, rowData, row, col) { if (cellData !== null && cellData !== '') { diff --git a/data/interfaces/default/users.html b/data/interfaces/default/users.html index 495a8056..37a0faa0 100644 --- a/data/interfaces/default/users.html +++ b/data/interfaces/default/users.html @@ -33,6 +33,8 @@