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
18 18

  
19 19
<ul id="bulk-selection">
20 20
<% @time_entries.each do |entry| %>
21
  <%= content_tag 'li',
22
        link_to("#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)}", edit_time_entry_path(entry)) %>
21
  <%=
22
    content_tag 'li',
23
      link_to(
24
        "#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)} (#{entry.user.name})",
25
        edit_time_entry_path(entry)
26
      )
27
  %>
23 28
<% end %>
24 29
</ul>
25 30

  
......
115 120
      }
116 121
    );
117 122
  <% end %>
118
<% end %>
123
<% end %>
(4-4/4)