summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/KickstartDashlet.php
blob: 09801f50d6a385fd6861ee3d7e593c0740c8b5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

class KickstartDashlet extends Dashlet
{
    protected $icon = 'gauge';

    public function getTitle()
    {
        return $this->translate('Kickstart Wizard');
    }

    public function getSummary()
    {
        return $this->translate(
            'This synchronizes Icinga Director to your Icinga 2 infrastructure.'
            . ' A new run should be triggered on infrastructure changes'
        );
    }

    public function getUrl()
    {
        return 'director/kickstart';
    }

    public function listRequiredPermissions()
    {
        return array('director/admin');
    }
}