mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 18:37:52 +02:00
monitoring: Use host and service icons in the notifications overview
This commit is contained in:
parent
439052ad97
commit
9b7e67919f
@ -42,6 +42,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
</td>
|
</td>
|
||||||
<td style="font-size: 0.8em">
|
<td style="font-size: 0.8em">
|
||||||
<?php if ($isService): ?>
|
<?php if ($isService): ?>
|
||||||
|
<?= $this->icon('service') ?>
|
||||||
<?= $this->link()->service(
|
<?= $this->link()->service(
|
||||||
$notification->service,
|
$notification->service,
|
||||||
$notification->service_display_name,
|
$notification->service_display_name,
|
||||||
@ -49,6 +50,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
$notification->host_display_name
|
$notification->host_display_name
|
||||||
) ?>
|
) ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
<?= $this->icon('host') ?>
|
||||||
<?= $this->link()->host($notification->host, $notification->host_display_name) ?>
|
<?= $this->link()->host($notification->host, $notification->host_display_name) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user