32 lines
664 B
PHP
32 lines
664 B
PHP
|
<?php
|
||
|
|
||
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
||
|
|
||
|
class ServiceGroupsDashlet extends Dashlet
|
||
|
{
|
||
|
protected $icon = 'tags';
|
||
|
|
||
|
public function getTitle()
|
||
|
{
|
||
|
return $this->translate('Service Groups');
|
||
|
}
|
||
|
|
||
|
public function getEscapedSummary()
|
||
|
{
|
||
|
return $this->translate(
|
||
|
'Defining Service Groups get more structure. Great for Dashboards.'
|
||
|
. ' Notifications and Permissions might be based on groups.'
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function getUrl()
|
||
|
{
|
||
|
return 'director/servicegroups';
|
||
|
}
|
||
|
|
||
|
public function listRequiredPermissions()
|
||
|
{
|
||
|
return array('director/admin');
|
||
|
}
|
||
|
}
|