diff options
-rw-r--r-- | includes/view/User_view.php | 7 |
1 files changed, 6 insertions, 1 deletions
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' => '<b>' . $worklog['work_hours'] . ' h</b>', 'room' => '', 'shift_info' => _('Work log entry'), - 'comment' => $worklog['comment'], + 'comment' => $worklog['comment'] . '<br>' + . sprintf( + _('Added by %s at %s'), + User_Nick_render(User($worklog['user_id'])), + date('Y-m-d H:i', $worklog['created_timestamp']) + ), 'actions' => $actions ]; } |