mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
parent
bb7afd9b2b
commit
ab0720fe95
@ -19,8 +19,10 @@ if (count($downtimes) === 0) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<table data-base-target="_next"
|
||||||
<table data-base-target="_next" class="action">
|
class="action multiselect"
|
||||||
|
data-icinga-multiselect-url="/icingaweb2/monitoring/downtimes/show"
|
||||||
|
data-icinga-multiselect-data="downtime_id">
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($downtimes as $downtime): ?>
|
<?php foreach ($downtimes as $downtime): ?>
|
||||||
<?php
|
<?php
|
||||||
@ -48,15 +50,22 @@ if (count($downtimes) === 0) {
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?php if ($isService): ?>
|
<?php
|
||||||
<?= $this->icon('service', $this->translate('Service')); ?>
|
if ($isService) {
|
||||||
<?= $this->link()->service(
|
echo $this->icon('service');
|
||||||
$downtime->service_description, $downtime->service_display_name, $downtime->host_name, $downtime->host_display_name
|
} else {
|
||||||
) ?>
|
echo $this->icon('host');
|
||||||
<?php else: ?>
|
}
|
||||||
<?= $this->icon('host', $this->translate('Host')); ?>
|
?>
|
||||||
<?= $this->link()->host($downtime->host_name, $downtime->host_display_name) ?>
|
<?= $this->qlink(
|
||||||
<?php endif ?>
|
sprintf($this->translate('%s on %s', 'Service running on host'), $downtime->service_display_name, $downtime->host_display_name),
|
||||||
|
'monitoring/downtime/show',
|
||||||
|
array('downtime_id' => $downtime->id),
|
||||||
|
array('title' => sprintf(
|
||||||
|
$this->translate('Show detailed information for downtime on %s for %s'),
|
||||||
|
$downtime->service_display_name,
|
||||||
|
$downtime->host_display_name
|
||||||
|
))) ?>
|
||||||
<br>
|
<br>
|
||||||
<?= $this->icon('comment', $this->translate('Comment')); ?> [<?= $this->escape($downtime->author_name) ?>] <?= $this->escape($downtime->comment) ?>
|
<?= $this->icon('comment', $this->translate('Comment')); ?> [<?= $this->escape($downtime->author_name) ?>] <?= $this->escape($downtime->comment) ?>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user