monitoring: Indent the host detail w/ 4 spaces

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-25 11:20:01 +02:00
parent 44b2b87547
commit 8e63d89204

View File

@ -9,15 +9,15 @@ use Icinga\Module\Monitoring\Object\Host;
<?= $this->timeSince($object->host_last_state_change); ?> <?= $this->timeSince($object->host_last_state_change); ?>
</td> </td>
<td> <td>
<?= $this->iconImage()->host($object) ?> <?= $this->iconImage()->host($object) ?>
<><?= $this->escape($object->host_display_name); ?> <?= $this->escape($object->host_display_name); ?>
<?php if ($object->host_display_name !== $object->host_name): ?> <?php if ($object->host_display_name !== $object->host_name): ?>
(<?= $this->escape($object->host_name); ?>) (<?= $this->escape($object->host_name); ?>)
<?php endif ?> <?php endif ?>
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?> <?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
<br> <br>
<?= $this->escape($object->host_address); ?> <?= $this->escape($object->host_address); ?>
<?php endif ?> <?php endif ?>
<?= $this->render('partials/host/statusicons.phtml'); ?> <?= $this->render('partials/host/statusicons.phtml'); ?>
</td> </td>
</tr> </tr>