Eric Lippmann 2ee611a927 monitoring: Don't show host and service links in the detail history
Further, eventhistory and detail-history now use the introduced event-history partial.

refs #10317
2015-11-03 11:21:14 +01:00

14 lines
344 B
PHTML

<?php
if (! $this->compact): ?>
<div class="controls separated">
<?= $this->tabs ?>
<?php if ($object->type === 'service') {
echo $this->render('partials/object/service-header.phtml');
} else {
echo $this->render('partials/object/host-header.phtml');
} ?>
</div>
<?php endif ?>
<?= $this->render('partials/event-history.phtml') ?>