icingaweb2-module-director/library/Director/Dashboard/Dashlet/SelfServiceDashlet.php

32 lines
635 B
PHP
Raw Normal View History

<?php
namespace Icinga\Module\Director\Dashboard\Dashlet;
class SelfServiceDashlet extends Dashlet
{
protected $icon = 'chat';
public function getTitle()
{
return $this->translate('Self Service API');
}
public function getSummary()
{
return $this->translate(
'Icinga Director offers a Self Service API, allowing new Icinga'
. ' nodes to register themselves'
);
}
public function getUrl()
{
return 'director/settings/self-service';
}
public function listRequiredPermissions()
{
return array('director/admin');
}
}