|
|
@ -67,6 +67,7 @@ class ShiftCalendarShiftRenderer
|
|
|
|
case ShiftSignupState::SIGNED_UP:
|
|
|
|
case ShiftSignupState::SIGNED_UP:
|
|
|
|
return 'primary';
|
|
|
|
return 'primary';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case ShiftSignupState::NOT_ARRIVED:
|
|
|
|
case ShiftSignupState::SHIFT_ENDED:
|
|
|
|
case ShiftSignupState::SHIFT_ENDED:
|
|
|
|
return 'default';
|
|
|
|
return 'default';
|
|
|
|
|
|
|
|
|
|
|
@ -186,6 +187,11 @@ class ShiftCalendarShiftRenderer
|
|
|
|
$entry_list[] = $inner_text . ' (' . _('ended') . ')';
|
|
|
|
$entry_list[] = $inner_text . ' (' . _('ended') . ')';
|
|
|
|
break;
|
|
|
|
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:
|
|
|
|
case ShiftSignupState::ANGELTYPE:
|
|
|
|
if ($angeltype['restricted'] == 1) {
|
|
|
|
if ($angeltype['restricted'] == 1) {
|
|
|
|
// User has to be confirmed on the angeltype first
|
|
|
|
// User has to be confirmed on the angeltype first
|
|
|
|