fix dashboard rows

This commit is contained in:
msquare 2017-12-26 10:52:32 +01:00
parent d4ccc14d6c
commit 0101993284
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function public_dashboard_view($stats, $free_shifts)
]; ];
foreach ($free_shifts as $i => $shift) { foreach ($free_shifts as $i => $shift) {
$shift_panels[] = public_dashboard_shift_render($shift); $shift_panels[] = public_dashboard_shift_render($shift);
if($i % 4 == 0) { if($i % 4 == 3) {
$shift_panels[] = '</div><div class="row">'; $shift_panels[] = '</div><div class="row">';
} }
} }