mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
monitoring: Don't render the state label bold when listing services
refs #5543
This commit is contained in:
parent
d87c3b1804
commit
596bb08e5e
@ -44,17 +44,19 @@ if (! $this->compact): ?>
|
|||||||
$serviceStateName = Service::getStateText($service->service_state);
|
$serviceStateName = Service::getStateText($service->service_state);
|
||||||
?>
|
?>
|
||||||
<tr class="state <?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
<tr class="state <?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
||||||
<td class="state">
|
<td class="state">
|
||||||
<strong><?= Service::getStateText($service->service_state, true) ?></strong>
|
<p>
|
||||||
<?php if ((int) $service->service_state !== 99): ?>
|
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
||||||
<br />
|
<?php if ((int) $service->service_state !== 99): ?>
|
||||||
<?= $this->timeSince($service->service_last_state_change, $this->compact) ?>
|
<br>
|
||||||
<?php if ((int) $service->service_state > 0 && (int) $service->service_state_type === 0): ?>
|
<?= $this->timeSince($service->service_last_state_change, $this->compact) ?>
|
||||||
<br />
|
<?php if ((int) $service->service_state > 0 && (int) $service->service_state_type === 0): ?>
|
||||||
<strong>Soft <?= $service->service_attempt ?></strong>
|
<br>
|
||||||
<?php endif ?>
|
<span class="text-small">Soft <?= $service->service_attempt ?></span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</td>
|
<?php endif ?>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<?= $this->iconImage()->service($service) ?>
|
<?= $this->iconImage()->service($service) ?>
|
||||||
@ -64,7 +66,7 @@ if (! $this->compact): ?>
|
|||||||
$hostLink,
|
$hostLink,
|
||||||
null,
|
null,
|
||||||
array('title' => sprintf($this->translate('Show detailed information for host %s'), $service->host_display_name))
|
array('title' => sprintf($this->translate('Show detailed information for host %s'), $service->host_display_name))
|
||||||
) ?>:
|
) ?>:
|
||||||
<?php endif ?><?= $this->qlink(
|
<?php endif ?><?= $this->qlink(
|
||||||
$service->service_display_name,
|
$service->service_display_name,
|
||||||
$serviceLink,
|
$serviceLink,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user