Commit b3f3a68b authored by Franco Fichtner's avatar Franco Fichtner

dashboard: colour changed, but text did not

parent 123ed735
......@@ -45,8 +45,9 @@
tbody.append(tr_content.join(''));
} else {
// update existing gateway
$("#"+tr_id+" > td:eq(2)").html(gateway['loss']);
$("#"+tr_id+" > td:eq(1)").html(gateway['delay']);
$("#"+tr_id+" > td:eq(2)").html(gateway['loss']);
$("#"+tr_id+" > td:eq(3)").html('<font>'+gateway['status_translated']+'</font>');
}
// set color on status text
switch (gateway['status']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment