summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/ShiftCalendarShiftRenderer.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/view/ShiftCalendarShiftRenderer.php b/includes/view/ShiftCalendarShiftRenderer.php
index 74b36bc3..61e3ecec 100644
--- a/includes/view/ShiftCalendarShiftRenderer.php
+++ b/includes/view/ShiftCalendarShiftRenderer.php
@@ -67,6 +67,7 @@ class ShiftCalendarShiftRenderer
case ShiftSignupState::SIGNED_UP:
return 'primary';
+ case ShiftSignupState::NOT_ARRIVED:
case ShiftSignupState::SHIFT_ENDED:
return 'default';
@@ -180,11 +181,16 @@ class ShiftCalendarShiftRenderer
_('Sign up'), 'btn-xs btn-primary'
);
break;
-
+
case ShiftSignupState::SHIFT_ENDED:
// No link and add a text hint, when the shift ended
$entry_list[] = $inner_text . ' (' . _('ended') . ')';
break;
+
+ case ShiftSignupState::NOT_ARRIVED:
+ // No link and add a text hint, when the shift ended
+ $entry_list[] = $inner_text . ' (' . _('not arrived') . ')';
+ break;
case ShiftSignupState::ANGELTYPE:
if ($angeltype['restricted'] == 1) {