diff --git a/apps/assets/templates/assets/asset_list.html b/apps/assets/templates/assets/asset_list.html index 486433ad9..d52532848 100644 --- a/apps/assets/templates/assets/asset_list.html +++ b/apps/assets/templates/assets/asset_list.html @@ -151,9 +151,9 @@ function initTable() { }}, {targets: 4, createdCell: function (td, cellData, rowData) { var innerHtml = ""; - if (cellData.status == 1) { + if (cellData.status === 1) { innerHtml = '' - } else if (cellData.status == 0) { + } else if (cellData.status === 0) { innerHtml = '' } else { innerHtml = '' diff --git a/apps/users/templates/users/user_list.html b/apps/users/templates/users/user_list.html index 345c449d4..265d4a4db 100644 --- a/apps/users/templates/users/user_list.html +++ b/apps/users/templates/users/user_list.html @@ -124,8 +124,8 @@ function initTable() { {data: "role"}, {data: "groups_display", orderable: false}, {data: "source"}, - {data: "is_valid", orderable: false}, - {data: "id", orderable: false} + {data: "is_valid", orderable: false, width: "50px"}, + {data: "id", orderable: false, width: "100px"} ], op_html: $('#actions').html() };