diff --git a/apps/assets/templates/assets/asset_list.html b/apps/assets/templates/assets/asset_list.html
index cb7c13e56..70362a241 100644
--- a/apps/assets/templates/assets/asset_list.html
+++ b/apps/assets/templates/assets/asset_list.html
@@ -92,8 +92,7 @@
{% trans 'Hostname' %} |
{% trans 'IP' %} |
{% trans 'Hardware' %} |
- {% trans 'Active' %} |
-{# {% trans 'Reachable' %} | #}
+ {% trans 'Reachable' %} |
{% trans 'Action' %} |
@@ -163,10 +162,12 @@ function initTable() {
$(td).html(rowData.hardware_info)
}},
{targets: 4, createdCell: function (td, cellData) {
- if (!cellData) {
- $(td).html('')
+ if (cellData === 1){
+ $(td).html('')
+ } else if (cellData === 0) {
+ $(td).html('')
} else {
- $(td).html('')
+ $(td).html('')
}
}},
@@ -179,8 +180,8 @@ function initTable() {
ajax_url: '{% url "api-assets:asset-list" %}',
columns: [
{data: "id"}, {data: "hostname" }, {data: "ip" },
- {data: "cpu_cores"}, {data: "is_active", orderable: false },
- {data: "id", orderable: false }
+ {data: "cpu_cores"},
+ {data: "connectivity"}, {data: "id", orderable: false }
],
op_html: $('#actions').html()
};