]> source.dussan.org Git - redmine.git/commitdiff
Show user name in time entry bulk edit (#3800).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 5 Apr 2020 08:35:59 +0000 (08:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 5 Apr 2020 08:35:59 +0000 (08:35 +0000)
Patch by Kevin Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@19654 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/timelog/bulk_edit.html.erb

index 5d82c54d523c222cb81232f5f950f17ffffb656b..bb7caa14b8f96af1b957830696cc3f011d423406 100644 (file)
 
 <ul id="bulk-selection">
 <% @time_entries.each do |entry| %>
-  <%= content_tag 'li',
-        link_to("#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)}", edit_time_entry_path(entry)) %>
+  <%=
+    content_tag 'li',
+      link_to(
+        "#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)} (#{entry.user})",
+        edit_time_entry_path(entry)
+      )
+  %>
 <% end %>
 </ul>
 
       }
     );
   <% end %>
-<% end %>
\ No newline at end of file
+<% end %>