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 --- .../Director/Dashboard/TimeperiodsDashboard.php | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 library/Director/Dashboard/TimeperiodsDashboard.php (limited to 'library/Director/Dashboard/TimeperiodsDashboard.php') diff --git a/library/Director/Dashboard/TimeperiodsDashboard.php b/library/Director/Dashboard/TimeperiodsDashboard.php new file mode 100644 index 0000000..9821b94 --- /dev/null +++ b/library/Director/Dashboard/TimeperiodsDashboard.php @@ -0,0 +1,33 @@ +translate('Define custom Time Periods'); + } + + public function getDescription() + { + return $this->translate( + 'Want to define to execute specific checks only withing specific' + . ' time periods? Get mobile notifications only out of office hours,' + . ' but mail notifications all around the clock? Time Periods allow' + . ' you to tackle those and similar requirements.' + ); + } + + public function getTabs() + { + return $this->createTabsForDashboards( + ['notifications', 'users', 'timeperiods'] + ); + } +} -- cgit v1.2.3