31 lines
579 B
PHP
31 lines
579 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
|
|
|
class DatafieldDashlet extends Dashlet
|
|
{
|
|
protected $icon = 'edit';
|
|
|
|
public function getTitle()
|
|
{
|
|
return $this->translate('Define data fields');
|
|
}
|
|
|
|
public function getEscapedSummary()
|
|
{
|
|
return $this->translate(
|
|
'Data fields make sure that configuration fits your rules'
|
|
);
|
|
}
|
|
|
|
public function getUrl()
|
|
{
|
|
return 'director/data/fields';
|
|
}
|
|
|
|
public function listRequiredPermissions()
|
|
{
|
|
return array('director/data');
|
|
}
|
|
}
|