mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
parent
ebdf68550b
commit
f11ad1183a
@ -102,13 +102,23 @@ foreach ($services as $service):
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($service->service_icon_image && ! preg_match('/[\'"]/', $service->service_icon_image)): ?>
|
<?php if ($service->service_icon_image && ! preg_match('/[\'"]/', $service->service_icon_image)): ?>
|
||||||
<?= $this->icon($this->resolveMacros($service->service_icon_image, $service)) ?>
|
<?= $this->icon($this->resolveMacros($service->service_icon_image, $service)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<a href="<?= $serviceLink ?>"><?= $this->escape($service->service_display_name) ?></a><?php if ($this->showHost): ?> on <a href="<?= $hostLink ?>"><?= $this->escape($service->host_display_name) ?>
|
<?= $this->qlink(
|
||||||
<?php if ($service->host_state != 0): ?>
|
$service->service_display_name,
|
||||||
(<?= Host::getStateText($service->host_state, true); ?>)
|
$serviceLink,
|
||||||
<?php endif ?>
|
null,
|
||||||
</a><?php endif ?><br />
|
array('title' => sprintf(
|
||||||
|
$this->translate('Show detailed information for service %s on host %s'),
|
||||||
|
$service->service_display_name,
|
||||||
|
$service->host_display_name
|
||||||
|
))
|
||||||
|
); ?><?php if ($this->showHost): ?> on <?= $this->qlink(
|
||||||
|
$service->host_display_name . ($service->host_state != 0 ? ' (' . Host::getStateText($service->host_state, true) . ')' : ''),
|
||||||
|
$hostLink,
|
||||||
|
null,
|
||||||
|
array('title' => sprintf($this->translate('Show detailed information for host %s'), $service->host_display_name))
|
||||||
|
); ?><?php endif ?><br>
|
||||||
<p class="pluginoutput"><?= $this->escape($this->ellipsis($service->service_output, 10000)); ?></p>
|
<p class="pluginoutput"><?= $this->escape($this->ellipsis($service->service_output, 10000)); ?></p>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach($this->extraColumns as $col): ?>
|
<?php foreach($this->extraColumns as $col): ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user