Copy issues via bulk update action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8538 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
464cef8643
commit
065376c160
13 files changed
+99
-327
No files matched your search
@@ -3,6 +3,6 @@
|
||||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %>
|
||||
<%= watcher_tag(@issue, User.current) %>
|
||||
<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %>
|
||||
<%= link_to_if_authorized l(:button_copy), {:controller => 'issue_moves', :action => 'new', :id => @issue, :copy_options => {:copy => 't'}}, :class => 'icon icon-copy' %>
|
||||
<%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'bulk_edit', :id => @issue, :copy => '1'}, :class => 'icon icon-copy' %>
|
||||
<%= link_to l(:button_delete), issue_path(@issue), :confirm => issues_destroy_confirmation_message(@issue), :method => :delete, :class => 'icon icon-del' if User.current.allowed_to?(:delete_issues, @project) %>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<h2><%= l(:label_bulk_edit_selected_issues) %></h2>
|
||||
<h2><%= @copy ? l(:button_copy) : l(:label_bulk_edit_selected_issues) %></h2>
|
||||
|
||||
<ul><%= @issues.collect {|i|
|
||||
content_tag('li',
|
||||
@@ -102,7 +102,11 @@
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<% if @target_project %>
|
||||
<% if @copy %>
|
||||
<%= hidden_field_tag 'copy', '1' %>
|
||||
<%= submit_tag l(:button_copy) %>
|
||||
<%= submit_tag l(:button_copy_and_follow), :name => 'follow' %>
|
||||
<% elsif @target_project %>
|
||||
<%= submit_tag l(:button_move) %>
|
||||
<%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
|
||||
<% else %>
|
||||
|
||||
Reference in new issue
Block a user