No (row) links back in object history, as we are already there

This commit is contained in:
Thomas Gelf 2014-03-08 12:38:31 +01:00
parent ca0fbedf0e
commit 79fe20a95c
1 changed files with 2 additions and 7 deletions

View File

@ -106,14 +106,9 @@ switch ($event->type) {
echo $this->icon($icon . '.png', $title) . ' ';
if ($object instanceof Service): ?>
<a href="<?= $this->href('monitoring/show/service', array(
'host' => $object->host_name,
'service' => $event->service_description
)); ?>"><?= $this->escape($event->service_description) ?></a>
<?= $this->escape($event->service_description) ?>
<?php else: ?>
<a href="<?= $this->href('monitoring/show/host', array(
'host' => $object->host_name
)); ?>"><?= $this->escape($event->host_name) ?></a>
<?= $this->escape($event->host_name) ?>
<?php endif;
if ($event->attempt !== null) {