summaryrefslogtreecommitdiff
path: root/includes/view/ShiftCalendarShiftRenderer.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-12-29 14:56:09 +0100
committermsquare <msquare@notrademark.de>2016-12-29 14:56:09 +0100
commit3fbd62ab7de38dc66e9694c89e8242c4e9249003 (patch)
treec1199de766e064555190a819f8b043712b71de59 /includes/view/ShiftCalendarShiftRenderer.php
parentfe5dec73ba4048e65f3edb0f0f637600936429bf (diff)
bring back coloring for admins
Diffstat (limited to 'includes/view/ShiftCalendarShiftRenderer.php')
-rw-r--r--includes/view/ShiftCalendarShiftRenderer.php2
1 files changed, 1 insertions, 1 deletions
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';
}