diff --git a/includes/view/User_view.php b/includes/view/User_view.php index b1521ff8..82df1851 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -477,7 +477,12 @@ function User_view_worklog($worklog, $admin_user_worklog_privilege) { 'duration' => '' . $worklog['work_hours'] . ' h', 'room' => '', 'shift_info' => _('Work log entry'), - 'comment' => $worklog['comment'], + 'comment' => $worklog['comment'] . '
' + . sprintf( + _('Added by %s at %s'), + User_Nick_render(User($worklog['user_id'])), + date('Y-m-d H:i', $worklog['created_timestamp']) + ), 'actions' => $actions ]; }