Timeline: Ensure dashboard compliance

refs #7876
This commit is contained in:
Johannes Meyer 2015-04-17 16:11:06 +02:00
parent 3f092ffb2d
commit 073dc31128
1 changed files with 6 additions and 5 deletions

View File

@ -3,13 +3,12 @@ use Icinga\Web\Url;
use Icinga\Util\Color;
$groupInfo = $timeline->getGroupInfo();
$firstRow = !$beingExtended;
$firstRow = ! $beingExtended;
?>
<?php if (!$beingExtended): ?>
if (! $beingExtended && !$this->compact): ?>
<div class="controls">
<?= $this->tabs ?>
<div style="margin: 1em;" class="dontprint">
<?= $this->tabs; ?>
<div style="float: right;" class="dontprint">
<?= $intervalBox; ?>
</div>
<div style="margin: 1em;" class="timeline-legend">
@ -21,6 +20,8 @@ $firstRow = !$beingExtended;
<?php endforeach ?>
</div>
</div>
<?php endif ?>
<?php if (! $beingExtended): ?>
<div class="content" data-base-target="_next">
<div class="timeline">
<?php endif ?>