summaryrefslogtreecommitdiff
path: root/includes/view/ShiftCalendarShiftRenderer.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view/ShiftCalendarShiftRenderer.php')
-rw-r--r--includes/view/ShiftCalendarShiftRenderer.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/includes/view/ShiftCalendarShiftRenderer.php b/includes/view/ShiftCalendarShiftRenderer.php
index 86a6f91d..7aa79e07 100644
--- a/includes/view/ShiftCalendarShiftRenderer.php
+++ b/includes/view/ShiftCalendarShiftRenderer.php
@@ -44,6 +44,7 @@ class ShiftCalendarShiftRenderer {
private function classForSignupState(ShiftSignupState $shiftSignupState) {
switch ($shiftSignupState->getState()) {
+ case ShiftSignupState::ADMIN:
case ShiftSignupState::OCCUPIED:
return 'success';
@@ -57,7 +58,6 @@ class ShiftCalendarShiftRenderer {
case ShiftSignupState::COLLIDES:
return 'warning';
- case ShiftSignupState::ADMIN:
case ShiftSignupState::FREE:
return 'danger';
}
@@ -176,14 +176,6 @@ class ShiftCalendarShiftRenderer {
$header_buttons
]);
}
-
- /**
- * Does the shift collide with the user's shifts
- */
- private function collides() {
- // TODO
- return false;
- }
}
?> \ No newline at end of file