##// END OF EJS Templates
Cannot set activity to None....
Jean-Philippe Lang -
r15543:180c81dbf17d
parent child
Show More
@@ -17,8 +17,6
17 <li><%= context_menu_link u.name, {:controller => 'timelog', :action => 'bulk_update', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
17 <li><%= context_menu_link u.name, {:controller => 'timelog', :action => 'bulk_update', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
18 :selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:edit] %></li>
18 :selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:edit] %></li>
19 <% end -%>
19 <% end -%>
20 <li><%= context_menu_link l(:label_none), {:controller => 'timelog', :action => 'bulk_update', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
21 :selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:edit] %></li>
22 </ul>
20 </ul>
23 </li>
21 </li>
24 <% end %>
22 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now