Skip to content

Commit

Permalink
monitoring: Fix non-existent render of object-header
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 30, 2015
1 parent ad3ff43 commit 2fb294b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -28,7 +28,7 @@ $history->limit($limit * $page);
if (! $this->compact): ?>
<div class="controls">
<?= $this->tabs; ?>
<?= $this->render('partials/host/object-header.phtml'); ?>
<?= $this->render('partials/object/host-header.phtml'); ?>
<h1><?= $this->translate('This Host\'s Event History'); ?></h1>
<?= $this->sortBox; ?>
<?= $this->limiter; ?>
Expand Down
Expand Up @@ -5,14 +5,14 @@
<?= $this->tabs; ?>
<?php endif ?>
<?php if ($object->getType() === $object::TYPE_HOST): ?>
<?= $this->render('partials/host/object-header.phtml'); ?>
<?= $this->render('partials/object/host-header.phtml'); ?>
<?php
$this->baseFilter = Filter::where('host', $object->host_name);
$this->stats = $object->stats;
echo $this->render('list/components/servicesummary.phtml');
?>
<?php else: ?>
<?= $this->render('partials/service/object-header.phtml'); ?>
<?= $this->render('partials/object/service-header.phtml'); ?>
<hr class="command-separator">
<?php endif ?>
</div>
Expand Down
Expand Up @@ -27,7 +27,7 @@ $history->limit($limit * $page);
if (! $this->compact): ?>
<div class="controls">
<?= $this->tabs; ?>
<?= $this->render('partials/service/object-header.phtml'); ?>
<?= $this->render('partials/object/service-header.phtml'); ?>
<h1><?= $this->translate('This Service\'s Event History'); ?></h1>
<?= $this->sortBox; ?>
<?= $this->limiter; ?>
Expand Down

0 comments on commit 2fb294b

Please sign in to comment.