Header: Add header to timeline

refs #7976
This commit is contained in:
Marius Hein 2015-02-23 14:28:22 +01:00
parent 03160ef81a
commit 4d4c8b0836
2 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,8 @@ class Monitoring_TimelineController extends Controller
$this->getTabs()->add($action, array(
'title' => $title,
'url' => Url::fromRequest()
))->activate($action);
))->activate($action)
->setTitle($this->translate('Timeline Navigation'));
$this->view->title = $title;
}

View File

@ -10,6 +10,9 @@ $firstRow = !$beingExtended;
<div class="controls">
<?= $this->tabs ?>
<div style="margin: 1em;" class="dontprint">
<h2 tabindex="-1" class="sr-only">
<?= $this->translate('Filters') ?>
</h2>
<?= $intervalBox; ?>
</div>
<div style="margin: 1em;" class="timeline-legend">
@ -22,6 +25,7 @@ $firstRow = !$beingExtended;
</div>
</div>
<div class="content" data-base-target="_next">
<h1 tabindex="-1"><?= $this->translate('Timeline'); ?></h1>
<div class="timeline">
<?php endif ?>
<?php if ($switchedContext): ?>