From 2f20540a6bd450842d2ef95ce7683b49a0fc05a0 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 bc8e82d6..1fdaf775 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -547,7 +547,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 .= '' . $shift['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-54-g00ecf