summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Favre <gnomus@gnomus.de>2014-12-17 19:16:40 +0100
committerFelix Favre <gnomus@gnomus.de>2014-12-17 19:16:40 +0100
commitbcd33c02c814a8d82c08c078c8fae287d1cd95a5 (patch)
tree604744e5237314be3b289c32d43455cbfe8e60d2
parent8a51e5d822ce4276e266fefa62c8973344609471 (diff)
more infos in shift view
-rw-r--r--includes/pages/user_shifts.php9
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 .= " &ndash; ";
+ $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'),