From f66ab8dae2f3d0418759f81a3a64dc9517a62449 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:17:31 +0200 Subject: Adding upstream version 1.10.2. Signed-off-by: Daniel Baumann --- .../Dashboard/Dashlet/ServiceApplyRulesDashlet.php | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 library/Director/Dashboard/Dashlet/ServiceApplyRulesDashlet.php (limited to 'library/Director/Dashboard/Dashlet/ServiceApplyRulesDashlet.php') diff --git a/library/Director/Dashboard/Dashlet/ServiceApplyRulesDashlet.php b/library/Director/Dashboard/Dashlet/ServiceApplyRulesDashlet.php new file mode 100644 index 0000000..b4bee04 --- /dev/null +++ b/library/Director/Dashboard/Dashlet/ServiceApplyRulesDashlet.php @@ -0,0 +1,31 @@ +translate('Service Apply Rules'); + } + + public function getSummary() + { + return $this->translate( + 'Using Apply Rules a Service can be applied to multiple hosts at once,' + . ' based on filters dealing with any combination of their properties' + ); + } + + public function getUrl() + { + return 'director/services/applyrules'; + } + + public function listRequiredPermissions() + { + return array('director/admin'); + } +} -- cgit v1.2.3