mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #485 from Rosiak/master
Small visual change to print-alerts.php
This commit is contained in:
@ -85,8 +85,8 @@ foreach( dbFetchRows($full_query, $param) as $alert ) {
|
|||||||
$orig_class = $extra;
|
$orig_class = $extra;
|
||||||
echo "<tr class='".$extra."' id='row_".$alert['id']."'>";
|
echo "<tr class='".$extra."' id='row_".$alert['id']."'>";
|
||||||
echo "<td><i>#".((int) $rulei++)."</i></td>";
|
echo "<td><i>#".((int) $rulei++)."</i></td>";
|
||||||
echo "<td><i>".htmlentities($rule['rule'])."</i></td>";
|
echo "<td><i title=\"".htmlentities($rule['rule'])."\">".htmlentities($rule['name'])."</i></td>";
|
||||||
echo "<td>".$alert['hostname']."</td>";
|
echo "<td><a href=\"device/device=".$alert['device_id']."\">".$alert['hostname']."</a></td>";
|
||||||
echo "<td>".($alert['timestamp'] ? $alert['timestamp'] : "N/A")."</td>";
|
echo "<td>".($alert['timestamp'] ? $alert['timestamp'] : "N/A")."</td>";
|
||||||
echo "<td>".$rule['severity'];
|
echo "<td>".$rule['severity'];
|
||||||
if($alert['state'] == 3) {
|
if($alert['state'] == 3) {
|
||||||
|
Reference in New Issue
Block a user