summaryrefslogtreecommitdiff
path: root/includes/sys_menu.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-15 14:54:25 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-15 14:54:25 +0200
commitcac86ef509de8543d473db421898b80ca3b8f8e3 (patch)
tree8c2506a25c882d93b768fcf33172ec6a637f3526 /includes/sys_menu.php
parentbc84710e9dcb0f4b3f52402e9b75123ae1210bfd (diff)
add planned date of departure
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r--includes/sys_menu.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index 16577cbc..c7ecfb88 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -45,6 +45,9 @@ function header_toolbar() {
if ($unconfirmed_hint != '')
$hints[] = $unconfirmed_hint;
+ if (! isset($user['planned_departure_date']) || $user['planned_departure_date'] == null)
+ $hints[] = info(_("Please enter your planned date of departure on your settings page to give us a feeling for teardown capacities."), true);
+
if (User_is_freeloader($user)) {
$hints[] = error(sprintf(_("You freeloaded at least %s shifts. Shift signup is locked. Please go to heavens desk to be unlocked again."), $max_freeloadable_shifts), true);
$hint_class = 'danger';