diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index c8633cc5..70a674fb 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -551,9 +551,9 @@ function view_user_shifts() { $shifts_row .= " – "; $shifts_row .= date('H:i', $shift['end']); $shifts_row .= "
"; - $shifts_row .= '' . $shift['name'] . ''; + $shifts_row .= '' . ShiftType($shift['shifttype_id'])['name'] . ''; $shifts_row .= "
"; - $shifts_row .= '' . $shift['name'] . ''; + $shifts_row .= '' . $shift['title'] . ''; $shifts_row .= "
"; if (in_array('admin_shifts', $privileges)) $shifts_row .= ' ' . table_buttons(array( diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index c796b13e..91a553ec 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -47,6 +47,10 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source, button(shift_delete_link($shift), glyph('trash') . _('delete')) ]) : '', div('row', [ + div('col-sm-3 col-xs-6', [ + '

' . _('Title') . '

', + '

' . ($shift['URL'] != '' ? '' . $shift['title'] . '' : $shift['title']) . '

' + ]), div('col-sm-3 col-xs-6', [ '

' . _('Start') . '

', '

', @@ -66,10 +70,6 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source, div('col-sm-3 col-xs-6', [ '

' . _('Location') . '

', '

' . $room['Name'] . '

' - ]), - div('col-sm-3 col-xs-6', [ - '

' . _('More info') . '

', - $shift['URL'] != '' ? '' . $shift['URL'] . '' : '' ]) ]), div('row', [