bring back coloring for admins

This commit is contained in:
msquare 2016-12-29 14:56:09 +01:00
parent fe5dec73ba
commit 3fbd62ab7d
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}