mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Fix links in downtime list
This commit is contained in:
parent
03ab6e4e92
commit
f54fcefefb
@ -40,7 +40,7 @@ if (! $this->compact): ?>
|
|||||||
$this->downtime = $downtime;
|
$this->downtime = $downtime;
|
||||||
$this->displayComment = true;
|
$this->displayComment = true;
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr href="<?= $this->href('monitoring/downtime/show', array('downtime_id' => $downtime->id)) ?>">
|
||||||
<?= $this->render('partials/downtime/downtime-header.phtml'); ?>
|
<?= $this->render('partials/downtime/downtime-header.phtml'); ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
@ -12,28 +12,30 @@
|
|||||||
<?php if ($isService): ?>
|
<?php if ($isService): ?>
|
||||||
<?= $this->icon('service', $this->translate('Service')); ?> <?= $this->qlink(
|
<?= $this->icon('service', $this->translate('Service')); ?> <?= $this->qlink(
|
||||||
$this->escape($downtime->host_display_name) . ': ' . $this->escape($downtime->service_display_name),
|
$this->escape($downtime->host_display_name) . ': ' . $this->escape($downtime->service_display_name),
|
||||||
'monitoring/downtime/show',
|
'monitoring/service/show',
|
||||||
array('downtime_id' => $downtime->id),
|
array(
|
||||||
|
'host' => $downtime->host_name,
|
||||||
|
'service' => $downtime->service_description
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
'title' => sprintf(
|
'title' => sprintf(
|
||||||
$this->translate('Show detailed information for this downtime scheduled for service %s on host %s'),
|
$this->translate('Show detailed information for this downtime scheduled for service %s on host %s'),
|
||||||
$downtime->service_display_name,
|
$downtime->service_display_name,
|
||||||
$downtime->host_display_name
|
$downtime->host_display_name
|
||||||
),
|
)
|
||||||
'class' => 'rowaction'
|
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= $this->icon('host', $this->translate('host')); ?> <?= $this->qlink(
|
<?= $this->icon('host', $this->translate('host')); ?> <?= $this->qlink(
|
||||||
$this->escape($downtime->host_display_name),
|
$this->escape($downtime->host_display_name),
|
||||||
'monitoring/downtime/show',
|
'monitoring/host/show',
|
||||||
|
array('host' => $downtime->host_name),
|
||||||
array('downtime_id' => $downtime->id),
|
array('downtime_id' => $downtime->id),
|
||||||
array(
|
array(
|
||||||
'title' => sprintf(
|
'title' => sprintf(
|
||||||
$this->translate('Show detailed information for this downtime scheduled for host %s'),
|
$this->translate('Show detailed information for this downtime scheduled for host %s'),
|
||||||
$downtime->host_display_name
|
$downtime->host_display_name
|
||||||
),
|
)
|
||||||
'class' => 'rowaction'
|
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user