more infos in shift view

This commit is contained in:
Felix Favre 2014-12-17 19:16:40 +01:00
parent 8a51e5d822
commit bcd33c02c8
1 changed files with 8 additions and 1 deletions

View File

@ -521,7 +521,14 @@ function view_user_shifts() {
// qqqqqq // qqqqqq
$is_free = false; $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)) if (in_array('admin_shifts', $privileges))
$shifts_row .= ' ' . table_buttons(array( $shifts_row .= ' ' . table_buttons(array(
button(page_link_to('user_shifts') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'), button(page_link_to('user_shifts') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'),