summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Favre <gnomus@gnomus.de>2014-12-17 19:16:40 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-19 23:02:50 +0100
commit2f20540a6bd450842d2ef95ce7683b49a0fc05a0 (patch)
treebe08750ea9a286dd38f2e5dd629fc2e148b29dcb
parent038bf97178ec369f693ca1ca8445ab527abc919d (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 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 = '<a href="' . shift_link($shift) . '">' . $shift['name'] . '</a>';
+ $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 .= '<a href="' . shift_link($shift) . '">' . $shift['name'] . '</a>';
+ $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'),