diff options
author | Felix Favre <gnomus@gnomus.de> | 2014-12-17 19:16:40 +0100 |
---|---|---|
committer | Felix Favre <gnomus@gnomus.de> | 2014-12-17 19:16:40 +0100 |
commit | bcd33c02c814a8d82c08c078c8fae287d1cd95a5 (patch) | |
tree | 604744e5237314be3b289c32d43455cbfe8e60d2 /includes/pages/user_shifts.php | |
parent | 8a51e5d822ce4276e266fefa62c8973344609471 (diff) |
more infos in shift view
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r-- | includes/pages/user_shifts.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index a536c1ac..bfcf6152 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -521,7 +521,14 @@ function view_user_shifts() { // qqqqqq $is_free = false; - $shifts_row = $shift['name']; + $shifts_row = date('d.m. H:i', $shift['start']); + $shifts_row .= " – "; + $shifts_row .= date('H:i', $shift['end']); + $shifts_row .= "<br /><b>"; + $shifts_row .= $shift['name']; + $shifts_row .= "</b><br />"; + $shifts_row .= $room["name"]; + $shifts_row .= "<br />"; if (in_array('admin_shifts', $privileges)) $shifts_row .= ' ' . table_buttons(array( button(page_link_to('user_shifts') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'), |