@@ -1,11 +1,10 | |||
|
1 | 1 | <h2><%= @copy ? l(:button_copy) : l(:label_bulk_edit_selected_issues) %></h2> |
|
2 | 2 | |
|
3 | <ul><%= @issues.collect {|i| | |
|
4 | content_tag('li', | |
|
5 | link_to(h("#{i.tracker} ##{i.id}"), | |
|
6 | { :action => 'show', :id => i } | |
|
7 | ) + h(": #{i.subject}")) | |
|
8 | }.join("\n").html_safe %></ul> | |
|
3 | <ul> | |
|
4 | <% @issues.each do |issue| %> | |
|
5 | <%= content_tag 'li', link_to_issue(issue) %> | |
|
6 | <% end %> | |
|
7 | </ul> | |
|
9 | 8 | |
|
10 | 9 | <%= form_tag({:action => 'bulk_update'}, :id => 'bulk_edit_form') do %> |
|
11 | 10 | <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %> |
@@ -1,10 +1,10 | |||
|
1 | 1 | <h2><%= l(:label_bulk_edit_selected_time_entries) %></h2> |
|
2 | 2 | |
|
3 | 3 | <ul> |
|
4 | <%= @time_entries.collect {|i| content_tag('li', | |
|
5 | link_to(h("#{i.spent_on.strftime("%Y-%m-%d")} - #{i.project}: #{l(:label_f_hour_plural, :value => i.hours)}"), | |
|
6 | { :action => 'edit', :id => i }) | |
|
7 | )}.join("\n").html_safe %> | |
|
4 | <% @time_entries.each do |entry| %> | |
|
5 | <%= content_tag 'li', | |
|
6 | link_to("#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)}", edit_time_entry_path(entry)) %> | |
|
7 | <% end %> | |
|
8 | 8 | </ul> |
|
9 | 9 | |
|
10 | 10 | <%= form_tag(:action => 'bulk_update') do %> |
General Comments 0
You need to be logged in to leave comments.
Login now