diff --git a/app/views/issues/tabs/_time_entries.html.erb b/app/views/issues/tabs/_time_entries.html.erb index 86a23d0c5..7aa4b7bb2 100644 --- a/app/views/issues/tabs/_time_entries.html.erb +++ b/app/views/issues/tabs/_time_entries.html.erb @@ -25,9 +25,11 @@ <%= l_hours_short time_entry.hours %> -
- <%= time_entry.comments %> -
+ <% if time_entry.comments.present? %> +
+ <%= time_entry.comments %> +
+ <% end %> <%= call_hook(:view_issues_history_time_entry_bottom, { :time_entry => time_entry }) %> -- 2.43.0