monitoring: Fix coding style in the downtimes/show view script

This commit is contained in:
Eric Lippmann 2015-08-27 23:15:28 +02:00
parent 0f2a4ceac3
commit aceae4cb6e

View File

@ -1,23 +1,19 @@
<div class="controls"> <div class="controls">
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<?= $this->tabs; ?> <?= $this->tabs ?>
<?php endif ?> <?php endif ?>
<?= $this->render('partials/downtime/downtimes-header.phtml') ?>
<?= $this->render('partials/downtime/downtimes-header.phtml'); ?>
</p>
</div> </div>
<div class="content multi-commands"> <div class="content multi-commands">
<h3><?= $this->translate('Commands') ?> </h3> <h3><?= $this->icon('reschedule') ?><?= $this->translate('Commands') ?></h3>
<?= $this->qlink( <?= $this->qlink(
sprintf( sprintf($this->translate('Remove all %d scheduled downtimes'), $downtimes->count()),
$this->translate('Remove all %d scheduled downtimes'),
count($downtimes)
),
$removeAllLink, $removeAllLink,
null, null,
array( array(
'icon' => 'trash' 'icon' => 'trash',
'title' => $this->translate('Remove all selected downtimes')
) )
) ?> ) ?>
</div> </div>