[UI] Fix last column of table (#9506)

* [UI] Fix last column of table

* move td outside of if and remove else
This commit is contained in:
Arjit Chaudhary 2018-12-05 22:19:25 +05:30 committed by Tony Murray
parent ad41a18f5c
commit 7788f93a57

View File

@ -17,6 +17,7 @@ if (!isset($alert_entry['device'])) {
echo '<td>'.htmlspecialchars($alert_entry['name']).'</td>';
echo "<td>";
if ($alert_state != '') {
if ($alert_state == '0') {
$fa_icon = 'check';
@ -39,7 +40,8 @@ if ($alert_state != '') {
$fa_color = 'info';
$text = 'Better';
}//end if
echo "<td><b><i class='fa fa-fw fa-".$fa_icon." text-".$fa_color."'></i> $text</b></td>";
}//end if
echo "<b><i class='fa fa-fw fa-".$fa_icon." text-".$fa_color."'></i> $text</b>";
}
echo "</td>";
echo '</tr>';