From fe5dec73ba4048e65f3edb0f0f637600936429bf Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Dec 2016 14:51:43 +0100 Subject: bring back filtering by occupancy --- includes/view/ShiftCalendarShiftRenderer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/view') diff --git a/includes/view/ShiftCalendarShiftRenderer.php b/includes/view/ShiftCalendarShiftRenderer.php index 2a345692..c00d620b 100644 --- a/includes/view/ShiftCalendarShiftRenderer.php +++ b/includes/view/ShiftCalendarShiftRenderer.php @@ -21,6 +21,7 @@ class ShiftCalendarShiftRenderer { $info_text = glyph('info-sign') . $shift['title'] . '
'; } list($shift_signup_state, $shifts_row) = $this->renderShiftNeededAngeltypes($shift, $needed_angeltypes, $shift_entries, $user); + $class = $this->classForSignupState($shift_signup_state); $blocks = ceil(($shift["end"] - $shift["start"]) / ShiftCalendarRenderer::SECONDS_PER_ROW); -- cgit v1.2.3-70-g09d2