monitoring: Remove strong and small tags in the service detail header
refs #5543
This commit is contained in:
parent
3f821ac284
commit
8aa1dcd4f9
|
@ -5,14 +5,14 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
<table>
|
||||
<tr>
|
||||
<td class="state-col state-<?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
|
||||
<strong><?= Host::getStateText($object->host_state, true) ?></strong><br>
|
||||
<?= Host::getStateText($object->host_state, true) ?><br>
|
||||
<?= $this->timeSince($object->host_last_state_change) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $this->iconImage()->service($object) ?>
|
||||
<strong><?= $this->escape($object->host_display_name) ?></strong>
|
||||
<?= $this->escape($object->host_display_name) ?>
|
||||
<?php if ($object->host_display_name !== $object->host_name): ?>
|
||||
<small>(<?= $this->escape($object->host_name) ?>)</small>
|
||||
(<?= $this->escape($object->host_name) ?>)
|
||||
<?php endif ?>
|
||||
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
|
||||
<br>
|
||||
|
@ -23,14 +23,14 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
</tr>
|
||||
<tr class="state <?= Service::getStateText($object->service_state) ?><?= $object->service_handled ? ' handled' : '' ?>">
|
||||
<td class="state">
|
||||
<strong><?= Service::getStateText($object->service_state, true) ?></strong><br>
|
||||
<?= Service::getStateText($object->service_state, true) ?><br>
|
||||
<?= $this->timeSince($object->service_last_state_change) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $this->iconImage()->host($object) ?>
|
||||
<strong><?= $this->translate('Service') ?>: <?= $this->escape($object->service_display_name) ?></strong>
|
||||
<?= $this->translate('Service') ?>: <?= $this->escape($object->service_display_name) ?>
|
||||
<?php if ($object->service_display_name !== $object->service_description): ?>
|
||||
<small>(<?= $this->escape($object->service_description) ?>)</small>
|
||||
(<?= $this->escape($object->service_description) ?>)
|
||||
<?php endif ?>
|
||||
<?= $this->render('partials/service/statusicons.phtml') ?>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue