diff options
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r-- | includes/pages/user_shifts.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 39dcc101..b3db0391 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -200,9 +200,8 @@ function view_user_shifts() $end_day = date('Y-m-d', $shiftsFilter->getEndTime()); $end_time = date('H:i', $shiftsFilter->getEndTime()); - $assignNotice = ''; if (config('signup_requires_arrival') && !$user['Gekommen']) { - $assignNotice = info(render_user_arrived_hint(), true); + info(render_user_arrived_hint()); } return page([ @@ -228,7 +227,6 @@ function view_user_shifts() . ' <a href="' . page_link_to('angeltypes', ['action' => 'about']) . '">' . _('Description of the jobs.') . '</a>', - 'assign_notice' => $assignNotice, 'shifts_table' => msg() . $shiftCalendarRenderer->render(), 'ical_text' => '<h2>' . _('iCal export') . '</h2><p>' . sprintf( _('Export of shown shifts. <a href="%s">iCal format</a> or <a href="%s">JSON format</a> available (please keep secret, otherwise <a href="%s">reset the api key</a>).'), |