2018-10-06 17:06:42 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
|
|
|
|
|
|
|
class BasketDashlet extends Dashlet
|
|
|
|
{
|
|
|
|
protected $icon = 'tag';
|
|
|
|
|
|
|
|
public function getTitle()
|
|
|
|
{
|
2018-10-15 14:49:47 +02:00
|
|
|
return $this->translate('Configuration Baskets');
|
2018-10-06 17:06:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getSummary()
|
|
|
|
{
|
|
|
|
return $this->translate(
|
2018-10-15 14:49:47 +02:00
|
|
|
'Preserve specific configuration objects in a specific state'
|
2018-10-06 17:06:42 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUrl()
|
|
|
|
{
|
|
|
|
return 'director/baskets';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function listRequiredPermissions()
|
|
|
|
{
|
|
|
|
return array('director/admin');
|
|
|
|
}
|
|
|
|
}
|