Skip to content

Commit

Permalink
monitoring: Use the object/detail-content partial when viewing a service
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 24, 2015
1 parent 85161c4 commit d71afd3
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions modules/monitoring/application/views/scripts/service/show.phtml
Expand Up @@ -6,50 +6,4 @@
<h1><?= $this->translate('Service detail information') ?></h1>
</div>

<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') ?>
<?= $this->render('show/components/servicegroups.phtml') ?>
<?= $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>
<?= $this->render('partials/object/detail-content.phtml') ?>

0 comments on commit d71afd3

Please sign in to comment.