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

36 lines
662 B
PHP

<?php
namespace Icinga\Module\Director\Dashboard\Dashlet;
class ActivityLogDashlet extends Dashlet
{
protected $icon = 'book';
public function getTitle()
{
return $this->translate('Activity Log');
}
public function getEscapedSummary()
{
return $this->translate(
'Wondering about what changed why? Track your changes!'
);
}
public function listCssClasses()
{
return 'state-ok';
}
public function getUrl()
{
return 'director/config/activities';
}
public function listRequiredPermissions()
{
return array('director/activitylog');
}
}