mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
[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:
committed by
Tony Murray
parent
ad41a18f5c
commit
7788f93a57
@ -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>';
|
||||
|
Reference in New Issue
Block a user