diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-23 12:03:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-23 12:03:25 +0000 |
commit | 180c81dbf17d0c0b9ba72a4b24fc8382ed7e412f (patch) | |
tree | d1f7887e5366cd8980568b9862b7fc7ef16b979c /app/views/context_menus/time_entries.html.erb | |
parent | 858cb0bd7842727a67f293a910203237fb1fdfa6 (diff) | |
download | redmine-180c81dbf17d0c0b9ba72a4b24fc8382ed7e412f.tar.gz redmine-180c81dbf17d0c0b9ba72a4b24fc8382ed7e412f.zip |
Cannot set activity to None.
git-svn-id: http://svn.redmine.org/redmine/trunk@15925 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/context_menus/time_entries.html.erb')
-rw-r--r-- | app/views/context_menus/time_entries.html.erb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/context_menus/time_entries.html.erb b/app/views/context_menus/time_entries.html.erb index 5f6ebd7ef..33e0aa1f3 100644 --- a/app/views/context_menus/time_entries.html.erb +++ b/app/views/context_menus/time_entries.html.erb @@ -17,8 +17,6 @@ <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, :selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:edit] %></li> <% end -%> - <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, - :selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:edit] %></li> </ul> </li> <% end %> |