diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-08 11:16:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-08 11:16:54 +0000 |
commit | 121bc44cc504b3086c35d40f984d75d978c59fb0 (patch) | |
tree | ce23bebc4b702daad08241c105f36bba18bee68d /app/views/context_menus | |
parent | f134eeef459e7027b43500cc6a3b7306882c10b7 (diff) | |
download | redmine-121bc44cc504b3086c35d40f984d75d978c59fb0.tar.gz redmine-121bc44cc504b3086c35d40f984d75d978c59fb0.zip |
Use the regular issue form to copy a single issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/context_menus')
-rw-r--r-- | app/views/context_menus/issues.html.erb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index 628433cb7..ce418af58 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -107,11 +107,12 @@ <% end %> <% if @issue.present? %> - <li><%= context_menu_link l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue}, - :class => 'icon-duplicate', :disabled => !@can[:copy] %></li> -<% end %> + <li><%= context_menu_link l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue}, + :class => 'icon-copy', :disabled => !@can[:copy] %></li> +<% else %> <li><%= context_menu_link l(:button_copy), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :copy => '1'}, - :class => 'icon-copy', :disabled => !@can[:move] %></li> + :class => 'icon-copy', :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> |