mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-10 07:24:25 +02:00
16 lines
612 B
PHTML
16 lines
612 B
PHTML
<?php if ($object->is_reachable !== null): ?>
|
|
<tr>
|
|
<th>
|
|
<?= $this->translate('Reachable') ?>
|
|
</th>
|
|
<td>
|
|
<span class="check-source-meta"><?= (bool) $object->is_reachable ? $this->translate('yes') : $this->translate('no') ?></span>
|
|
<?php if ((bool) $object->is_reachable) {
|
|
echo $this->icon('circle', $this->translate('Is reachable'), array('class' => 'icon-stateful state-ok'));
|
|
} else {
|
|
echo $this->icon('circle', $this->translate('Not reachable'), array('class' => 'icon-stateful state-critical'));
|
|
} ?>
|
|
</td>
|
|
</tr>
|
|
<?php endif ?>
|