mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
HostGroupsDashlet: just a new dashlet
This commit is contained in:
parent
a74785755c
commit
3437691ce2
31
library/Director/Dashboard/Dashlet/HostGroupsDashlet.php
Normal file
31
library/Director/Dashboard/Dashlet/HostGroupsDashlet.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
||||
|
||||
class HostGroupsDashlet extends Dashlet
|
||||
{
|
||||
protected $icon = 'tags';
|
||||
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->translate('Host Groups');
|
||||
}
|
||||
|
||||
public function getSummary()
|
||||
{
|
||||
return $this->translate(
|
||||
'Define Host Groups to give your configuration more structure. They'
|
||||
. ' are useful for Dashboards, Notifications or Restrictions'
|
||||
);
|
||||
}
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
return 'director/hostgroups';
|
||||
}
|
||||
|
||||
public function listRequiredPermissions()
|
||||
{
|
||||
return array('director/hosts');
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user