diff options
author | msquare <msquare@notrademark.de> | 2016-12-23 12:50:27 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-12-23 12:50:27 +0100 |
commit | 5b9ff7b7bf4f951afd36435487a46f8df3b6bf6f (patch) | |
tree | d5e5a8e3039ec5bbb22e3691e89c6a6d3d4fa81d | |
parent | b8c26b0fd0d14deb4bb89ad81d645baf9d9614a5 (diff) |
fix that free shifts become green
-rw-r--r-- | includes/view/ShiftCalendarShiftRenderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/ShiftCalendarShiftRenderer.php b/includes/view/ShiftCalendarShiftRenderer.php index 7aa79e07..294a5936 100644 --- a/includes/view/ShiftCalendarShiftRenderer.php +++ b/includes/view/ShiftCalendarShiftRenderer.php @@ -44,7 +44,6 @@ class ShiftCalendarShiftRenderer { private function classForSignupState(ShiftSignupState $shiftSignupState) { switch ($shiftSignupState->getState()) { - case ShiftSignupState::ADMIN: case ShiftSignupState::OCCUPIED: return 'success'; @@ -58,6 +57,7 @@ class ShiftCalendarShiftRenderer { case ShiftSignupState::COLLIDES: return 'warning'; + case ShiftSignupState::ADMIN: case ShiftSignupState::FREE: return 'danger'; } |