summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php
blob: c8db0e92f0a68473ccdd4c8a6a37f9c4aad316bb (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
32
33
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

use Icinga\Module\Director\Auth\Permission;

class ServiceSetsDashlet extends Dashlet
{
    protected $icon = 'services';

    public function getTitle()
    {
        return $this->translate('Service Sets');
    }

    public function getSummary()
    {
        return $this->translate(
            'Grouping your Services into Sets allow you to quickly assign services'
            . ' often used together in a single operation all at once'
        );
    }

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

    public function listRequiredPermissions()
    {
        return [Permission::SERVICE_SETS];
    }
}