monitoring/detail: Hide next check counter if the service is pending

This commit is contained in:
Eric Lippmann 2015-09-04 15:33:55 +02:00
parent 748eb69d89
commit bb67642d4b
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,9 @@ if ($object->getType() === $object::TYPE_HOST) {
);
}
} ?>
<?= $this->timeUntil($object->next_check) ?>
<?php if ((int) $object->state !== 99) {
echo $this->timeUntil($object->next_check);
} ?>
</td>
</tr>
<tr>