mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Fix incorrect assignment of class handled to the service badges in service grid.
This commit is contained in:
parent
8b7e83fbb2
commit
02bf383221
2 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ foreach ($pivotData as $serviceDescription => $_) {
|
|||
$service->service_display_name,
|
||||
$service->host_display_name
|
||||
),
|
||||
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled ? ' handled' : ''),
|
||||
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled === 'y' ? ' handled' : ''),
|
||||
'title' => $service->service_output
|
||||
)
|
||||
) ?>
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ foreach ($pivotData as $hostName => $_) {
|
|||
$service->service_display_name,
|
||||
$service->host_display_name
|
||||
),
|
||||
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled ? ' handled' : ''),
|
||||
'class' => 'service-grid-link state-' . ServiceStates::text($service->service_state) . ($service->service_handled === 'y' ? ' handled' : ''),
|
||||
'title' => $service->service_output
|
||||
)
|
||||
) ?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue