diff options
author | msquare <msquare@notrademark.de> | 2017-12-12 22:04:12 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-12-12 22:04:12 +0100 |
commit | 3379ea10b2d20560de877c053f32309ee126b474 (patch) | |
tree | df9f2a3a96dba784cc58fb843902010e1594800a /includes/view/PublicDashboard_view.php | |
parent | 59b8e76d1203d0677b032b00fdefbdec82d78f1f (diff) |
improve public dashboard
Diffstat (limited to 'includes/view/PublicDashboard_view.php')
-rw-r--r-- | includes/view/PublicDashboard_view.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/view/PublicDashboard_view.php b/includes/view/PublicDashboard_view.php index f1791e53..b80ca515 100644 --- a/includes/view/PublicDashboard_view.php +++ b/includes/view/PublicDashboard_view.php @@ -18,7 +18,9 @@ function public_dashboard_view($stats, $free_shifts) '<script>$(function(){setTimeout(function(){window.location.reload();}, 60000)})</script>' ]), div('container-fluid first', [ - heading(_('Needed angels:'), 1), + div('col-xs-12', [ + heading(_('Needed angels:'), 1) + ]), join($shift_panels) ]) ]); @@ -38,7 +40,7 @@ function public_dashborad_shift_render($shift) } $panel_body = glyph('time') . date('H:i', $shift['start']) . ' - ' . date('H:i', $shift['end']); - $panel_body .= ' (' . round(($shift['end'] - $shift['start']) / 3600) . ')'; + $panel_body .= ' (' . round(($shift['end'] - $shift['start']) / 3600) . ' h)'; $panel_body .= '<br>' . glyph('tasks') . ShiftType($shift['shifttype_id'])['name']; if (! empty($shift['title'])) { |