diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-07 12:46:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-07 12:46:36 +0000 |
commit | 14267311aac655d53805209c97285a31f0111cac (patch) | |
tree | 2e60bec6d0e06fe577c6248362ee1df709e523f9 /app/views/context_menus | |
parent | 6539d04622fb66f1fd895cdf2a5200eec861d43c (diff) | |
download | redmine-14267311aac655d53805209c97285a31f0111cac.tar.gz redmine-14267311aac655d53805209c97285a31f0111cac.zip |
Removed the "Move" button for single issue since it can be moved from the reguler update form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8533 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/context_menus')
-rw-r--r-- | app/views/context_menus/issues.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index 0eac74d41..ee58599d3 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -112,8 +112,10 @@ <% end %> <li><%= context_menu_link l(:button_copy), new_issue_move_path(:ids => @issues.collect(&:id), :copy_options => {:copy => 't'}), :class => 'icon-copy', :disabled => !@can[:move] %></li> +<% unless @issue.present? %> <li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)), :class => 'icon-move', :disabled => !@can[:move] %></li> +<% end %> <li><%= context_menu_link l(:button_delete), issues_path(:ids => @issues.collect(&:id), :back_url => @back), :method => :delete, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li> |