mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
8cff607b5d
commit
ebb0db3800
@ -14,13 +14,21 @@ use Icinga\Module\Monitoring\Object\Host;
|
|||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<?= $this->iconImage()->host($object) ?>
|
<?= $this->iconImage()->host($object) ?>
|
||||||
<?= $this->escape($object->host_display_name) ?>
|
<span class="selectable"><?= $this->escape($object->host_display_name) ?></span>
|
||||||
<?php if ($object->host_display_name !== $object->host_name): ?>
|
<?php if ($object->host_display_name !== $object->host_name): ?>
|
||||||
(<?= $this->escape($object->host_name) ?>)
|
<span class="selectable text-small">(<?= $this->escape($object->host_name) ?>)</span>
|
||||||
|
<?php endif ?>
|
||||||
|
<?php if ($object->host_address6 && $object->host_address6 !== $object->host_name): ?>
|
||||||
|
<br>
|
||||||
|
<span class="selectable text-small" title="<?= $this->translate('IPv6 address') ?>">
|
||||||
|
<?= $this->escape($object->host_address6) ?>
|
||||||
|
</span>
|
||||||
<?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>
|
||||||
|
<span class="selectable text-small" title="<?= $this->translate('IPv4 address') ?>">
|
||||||
<?= $this->escape($object->host_address) ?>
|
<?= $this->escape($object->host_address) ?>
|
||||||
|
</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?= $this->render('partials/host/statusicons.phtml') ?>
|
<?= $this->render('partials/host/statusicons.phtml') ?>
|
||||||
</p>
|
</p>
|
||||||
|
@ -15,13 +15,21 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<?= $this->iconImage()->service($object) ?>
|
<?= $this->iconImage()->service($object) ?>
|
||||||
<?= $this->escape($object->host_display_name) ?>
|
<span class="selectable"><?= $this->escape($object->host_display_name) ?></span>
|
||||||
<?php if ($object->host_display_name !== $object->host_name): ?>
|
<?php if ($object->host_display_name !== $object->host_name): ?>
|
||||||
(<?= $this->escape($object->host_name) ?>)
|
<span class="selectable text-small">(<?= $this->escape($object->host_name) ?>)</span>
|
||||||
|
<?php endif ?>
|
||||||
|
<?php if ($object->host_address6 && $object->host_address6 !== $object->host_name): ?>
|
||||||
|
<br>
|
||||||
|
<span class="selectable text-small" title="<?= $this->translate('IPv6 address') ?>">
|
||||||
|
<?= $this->escape($object->host_address6) ?>
|
||||||
|
</span>
|
||||||
<?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>
|
||||||
|
<span class="selectable text-small" title="<?= $this->translate('IPv4 address') ?>">
|
||||||
<?= $this->escape($object->host_address) ?>
|
<?= $this->escape($object->host_address) ?>
|
||||||
|
</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?= $this->render('partials/host/statusicons.phtml') ?>
|
<?= $this->render('partials/host/statusicons.phtml') ?>
|
||||||
</p>
|
</p>
|
||||||
@ -38,9 +46,9 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<?= $this->iconImage()->host($object) ?>
|
<?= $this->iconImage()->host($object) ?>
|
||||||
<?= $this->translate('Service') ?>: <?= $this->escape($object->service_display_name) ?>
|
<?= $this->translate('Service') ?>: <span class="selectable"><?= $this->escape($object->service_display_name) ?></span>
|
||||||
<?php if ($object->service_display_name !== $object->service_description): ?>
|
<?php if ($object->service_display_name !== $object->service_description): ?>
|
||||||
(<?= $this->escape($object->service_description) ?>)
|
<span class="selectable text-small">(<?= $this->escape($object->service_description) ?>)</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?= $this->render('partials/service/statusicons.phtml') ?>
|
<?= $this->render('partials/service/statusicons.phtml') ?>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user