diff options
author | msquare <msquare@notrademark.de> | 2017-12-20 23:05:46 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-12-20 23:05:46 +0100 |
commit | 2c04e35bed483dfe31eda465345602a117054f44 (patch) | |
tree | d9b0fd897ae91b4e3a11010e79715b28c0d8ee8c /includes/controller | |
parent | 7a3bdda483be2a32cc67bcf97b246edcb48c124e (diff) |
introduce new shift signup state for not arrived angels
Diffstat (limited to 'includes/controller')
-rw-r--r-- | includes/controller/shift_entries_controller.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php index 96967b1e..9ea25a79 100644 --- a/includes/controller/shift_entries_controller.php +++ b/includes/controller/shift_entries_controller.php @@ -191,6 +191,8 @@ function shift_entry_error_message(ShiftSignupState $shift_signup_state) { error(_('This shift is already occupied.')); } elseif ($shift_signup_state->getState() == ShiftSignupState::SHIFT_ENDED) { error(_('This shift ended already.')); + } elseif ($shift_signup_state->getState() == ShiftSignupState::NOT_ARRIVED) { + error(_('You are not marked as arrived.')); } elseif ($shift_signup_state->getState() == ShiftSignupState::SIGNED_UP) { error(_('You are signed up for this shift.')); } |