|
|
@@ -17,7 +17,7 @@ |
|
|
|
<li><%= context_menu_link h(u.name), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post, |
|
|
|
:selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:update] %></li> |
|
|
|
<% end -%> |
|
|
|
<li><%= context_menu_link l(:label_nobody), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post, |
|
|
|
<li><%= context_menu_link l(:label_none), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post, |
|
|
|
:selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:update] %></li> |
|
|
|
</ul> |
|
|
|
</li> |