mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
HostTemplatesDashlet: just a new dashlet
This commit is contained in:
parent
3759a4e48d
commit
0ae96fbaad
31
library/Director/Dashboard/Dashlet/HostTemplatesDashlet.php
Normal file
31
library/Director/Dashboard/Dashlet/HostTemplatesDashlet.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
||||||
|
|
||||||
|
class HostTemplatesDashlet extends Dashlet
|
||||||
|
{
|
||||||
|
protected $icon = 'cubes';
|
||||||
|
|
||||||
|
public function getTitle()
|
||||||
|
{
|
||||||
|
return $this->translate('Host Templates');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getSummary()
|
||||||
|
{
|
||||||
|
return $this->translate(
|
||||||
|
'Manage your Host Templates. Use Fields to make it easy for'
|
||||||
|
. ' your users to get them customized.'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getUrl()
|
||||||
|
{
|
||||||
|
return 'director/hosts/templates';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function listRequiredPermissions()
|
||||||
|
{
|
||||||
|
return array('director/admin');
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user