From bcd33c02c814a8d82c08c078c8fae287d1cd95a5 Mon Sep 17 00:00:00 2001 From: Felix Favre Date: Wed, 17 Dec 2014 19:16:40 +0100 Subject: more infos in shift view --- includes/pages/user_shifts.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 .= "
"; + $shifts_row .= $shift['name']; + $shifts_row .= "
"; + $shifts_row .= $room["name"]; + $shifts_row .= "
"; 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'), -- cgit v1.2.3-70-g09d2