summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/SettingsDashlet.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Dashboard/Dashlet/SettingsDashlet.php')
-rw-r--r--library/Director/Dashboard/Dashlet/SettingsDashlet.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/library/Director/Dashboard/Dashlet/SettingsDashlet.php b/library/Director/Dashboard/Dashlet/SettingsDashlet.php
new file mode 100644
index 0000000..716e565
--- /dev/null
+++ b/library/Director/Dashboard/Dashlet/SettingsDashlet.php
@@ -0,0 +1,30 @@
+<?php
+
+namespace Icinga\Module\Director\Dashboard\Dashlet;
+
+class SettingsDashlet extends Dashlet
+{
+ protected $icon = 'edit';
+
+ public function getTitle()
+ {
+ return $this->translate('Director Settings');
+ }
+
+ public function getSummary()
+ {
+ return $this->translate(
+ 'Tweak some global Director settings'
+ );
+ }
+
+ public function getUrl()
+ {
+ return 'director/config/settings';
+ }
+
+ public function listRequiredPermissions()
+ {
+ return array('director/admin');
+ }
+}