Skip to content

Commit

Permalink
Timeline: Add dashboard action
Browse files Browse the repository at this point in the history
refs #7876
  • Loading branch information
Johannes Meyer committed Apr 20, 2015
1 parent a3eb6e3 commit b68fd93
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -10,6 +10,7 @@
use Icinga\Module\Monitoring\Timeline\TimeLine;
use Icinga\Module\Monitoring\Timeline\TimeRange;
use Icinga\Module\Monitoring\Web\Widget\SelectBox;
use Icinga\Web\Widget\Tabextension\DashboardAction;

class Monitoring_TimelineController extends Controller
{
Expand All @@ -22,7 +23,7 @@ public function indexAction()
'label' => $this->translate('Timeline'),
'url' => Url::fromRequest()
)
)->activate('timeline');
)->extend(new DashboardAction())->activate('timeline');
$this->view->title = $this->translate('Timeline');

// TODO: filter for hard_states (precedence adjustments necessary!)
Expand Down

0 comments on commit b68fd93

Please sign in to comment.