summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/CommandTemplatesDashlet.php
blob: 512298ad89b3ab4f71867de72806617d8c8ac83e (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
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

class CommandTemplatesDashlet extends CheckCommandsDashlet
{
    protected $icon = 'cubes';

    public function getSummary()
    {
        return $this->translate(
            'External Notification Commands have been defined in your local Icinga 2'
            . ' Configuration.'
        );
    }

    public function getTitle()
    {
        return $this->translate('Command Templates');
    }

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