Project

General

Profile

Feature #3800 » 0002-show-user-name-in-time-entry-batch-edit.patch

Kevin Fischer, 2020-03-23 02:08

View differences:

app/views/timelog/bulk_edit.html.erb
<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.name})",
edit_time_entry_path(entry)
)
%>
<% end %>
</ul>
......
}
);
<% end %>
<% end %>
<% end %>
(4-4/4)