From 3fbd62ab7de38dc66e9694c89e8242c4e9249003 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Dec 2016 14:56:09 +0100 Subject: bring back coloring for admins --- includes/view/ShiftCalendarShiftRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/view/ShiftCalendarShiftRenderer.php') diff --git a/includes/view/ShiftCalendarShiftRenderer.php b/includes/view/ShiftCalendarShiftRenderer.php index c00d620b..fdfefcc2 100644 --- a/includes/view/ShiftCalendarShiftRenderer.php +++ b/includes/view/ShiftCalendarShiftRenderer.php @@ -45,6 +45,7 @@ class ShiftCalendarShiftRenderer { private function classForSignupState(ShiftSignupState $shiftSignupState) { switch ($shiftSignupState->getState()) { + case ShiftSignupState::ADMIN: case ShiftSignupState::OCCUPIED: return 'success'; @@ -58,7 +59,6 @@ class ShiftCalendarShiftRenderer { case ShiftSignupState::COLLIDES: return 'warning'; - case ShiftSignupState::ADMIN: case ShiftSignupState::FREE: return 'danger'; } -- cgit v1.2.3-54-g00ecf