monitoring: Use host and service icons in the notifications overview

This commit is contained in:
Eric Lippmann 2015-01-21 15:59:20 +01:00
parent 439052ad97
commit 9b7e67919f
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ use Icinga\Module\Monitoring\Object\Service;
</td>
<td style="font-size: 0.8em">
<?php if ($isService): ?>
<?= $this->icon('service') ?>
<?= $this->link()->service(
$notification->service,
$notification->service_display_name,
@ -49,6 +50,7 @@ use Icinga\Module\Monitoring\Object\Service;
$notification->host_display_name
) ?>
<?php else: ?>
<?= $this->icon('host') ?>
<?= $this->link()->host($notification->host, $notification->host_display_name) ?>
<?php endif ?>
<br>