summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2020-04-05 08:35:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2020-04-05 08:35:59 +0000
commitc01dad40383c8dcee4df6d1d200467dee93335a4 (patch)
tree768f6118e12b4cd81e1e8221b389b6b347ae491d
parent9fcfeb1b363cefa8ecf710e3bdcc4c0f79e517cd (diff)
downloadredmine-c01dad40383c8dcee4df6d1d200467dee93335a4.tar.gz
redmine-c01dad40383c8dcee4df6d1d200467dee93335a4.zip
Show user name in time entry bulk edit (#3800).
Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@19654 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/timelog/bulk_edit.html.erb11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb
index 5d82c54d5..bb7caa14b 100644
--- a/app/views/timelog/bulk_edit.html.erb
+++ b/app/views/timelog/bulk_edit.html.erb
@@ -18,8 +18,13 @@
<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>
@@ -115,4 +120,4 @@
}
);
<% end %>
-<% end %> \ No newline at end of file
+<% end %>