mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="state-col state-<?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
|
<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) ?>
|
<?= $this->timeSince($object->host_last_state_change) ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->iconImage()->service($object) ?>
|
<?= $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): ?>
|
<?php if ($object->host_display_name !== $object->host_name): ?>
|
||||||
<small>(<?= $this->escape($object->host_name) ?>)</small>
|
(<?= $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>
|
||||||
@ -23,14 +23,14 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="state <?= Service::getStateText($object->service_state) ?><?= $object->service_handled ? ' handled' : '' ?>">
|
<tr class="state <?= Service::getStateText($object->service_state) ?><?= $object->service_handled ? ' handled' : '' ?>">
|
||||||
<td class="state">
|
<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) ?>
|
<?= $this->timeSince($object->service_last_state_change) ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->iconImage()->host($object) ?>
|
<?= $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): ?>
|
<?php if ($object->service_display_name !== $object->service_description): ?>
|
||||||
<small>(<?= $this->escape($object->service_description) ?>)</small>
|
(<?= $this->escape($object->service_description) ?>)
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?= $this->render('partials/service/statusicons.phtml') ?>
|
<?= $this->render('partials/service/statusicons.phtml') ?>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user