monitoring: Add object/detail-content partial

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-24 16:10:20 +02:00
parent 523a1cff31
commit 98ed611839
1 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,51 @@
<div class="content" data-base-target="_next">
<?= $this->render('show/components/output.phtml') ?>
<?= $this->render('show/components/grapher.phtml') ?>
<h2><?= $this->translate('Problem handling') ?></h2>
<table class="name-value-table">
<tbody>
<?= $this->render('show/components/acknowledgement.phtml') ?>
<?= $this->render('show/components/comments.phtml') ?>
<?= $this->render('show/components/downtime.phtml') ?>
<?= $this->render('show/components/notes.phtml') ?>
<?= $this->render('show/components/actions.phtml') ?>
<?= $this->render('show/components/flapping.phtml') ?>
<?php if ($object->type === 'service'): ?>
<?= $this->render('show/components/servicegroups.phtml') ?>
<?php else: ?>
<?= $this->render('show/components/hostgroups.phtml') ?>
<?php endif ?>
<?= $this->render('show/components/perfdata.phtml') ?>
</tbody>
</table>
<h2><?= $this->translate('Notifications') ?></h2>
<table class="name-value-table">
<tbody>
<?= $this->render('show/components/notifications.phtml') ?>
<?= $this->render('show/components/contacts.phtml') ?>
</tbody>
</table>
<h2><?= $this->translate('Check execution') ?></h2>
<table class="name-value-table">
<tbody>
<?= $this->render('show/components/command.phtml') ?>
<?= $this->render('show/components/checksource.phtml') ?>
<?= $this->render('show/components/checkstatistics.phtml') ?>
<?= $this->render('show/components/checktimeperiod.phtml') ?>
</tbody>
</table>
<?php if (! empty($object->customvars)): ?>
<h2><?= $this->translate('Custom Variables') ?></h2>
<table class="name-value-table">
<tbody>
<?= $this->render('show/components/customvars.phtml') ?>
</tbody>
</table>
<?php endif ?>
<?= $this->render('show/components/flags.phtml') ?>
</div>