2016-10-27 19:58:31 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
|
|
|
|
|
|
|
class DatafieldDashlet extends Dashlet
|
|
|
|
{
|
|
|
|
protected $icon = 'edit';
|
|
|
|
|
|
|
|
public function getTitle()
|
|
|
|
{
|
|
|
|
return $this->translate('Define data fields');
|
|
|
|
}
|
|
|
|
|
2017-06-14 15:56:53 +02:00
|
|
|
public function getSummary()
|
2016-10-27 19:58:31 +02:00
|
|
|
{
|
|
|
|
return $this->translate(
|
|
|
|
'Data fields make sure that configuration fits your rules'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUrl()
|
|
|
|
{
|
|
|
|
return 'director/data/fields';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function listRequiredPermissions()
|
|
|
|
{
|
2016-11-03 16:06:18 +01:00
|
|
|
return array('director/admin');
|
2016-10-27 19:58:31 +02:00
|
|
|
}
|
|
|
|
}
|