<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %>
<% replace_watcher ||= 'watcher' %>
<%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %>
-<%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
+<%= 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 => 'issues', :action => 'move', :id => @issue, :copy_options => {:copy => 't'} }, :class => 'icon icon-copy' %>
<%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => @issue }, :class => 'icon icon-move' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>
<% end %>
<% if @issue.present? %>
- <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_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 => 'move', :ids => @issues.collect(&:id), :copy_options => {:copy => 't'}},
:class => 'icon-copy', :disabled => !@can[:move] %></li>
-<% end %>
-
<li><%= context_menu_link l(:button_move), {:controller => 'issues', :action => 'move', :ids => @issues.collect(&:id)},
:class => 'icon-move', :disabled => !@can[:move] %></li>
<li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id)},
-<h2><%= l(:button_move) %></h2>
+<h2><%= @copy ? l(:button_copy) : l(:button_move) %></h2>
<ul>
<% @issues.each do |issue| -%>
<label><%= l(:field_due_date) %></label>
<%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %>
</p>
-
-<p><label for="copy_options_copy"><%= l(:button_copy)%></label>
-<%= check_box_tag "copy_options[copy]", "1", @copy %></p>
</div>
-<%= submit_tag l(:button_move) %>
-<%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
+<% if @copy %>
+ <%= hidden_field_tag("copy_options[copy]", "1") %>
+ <%= submit_tag l(:button_copy) %>
+ <%= submit_tag l(:button_copy_and_follow), :name => 'follow' %>
+<% else %>
+ <%= submit_tag l(:button_move) %>
+ <%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
+<% end %>
<% end %>
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
button_rename: Rename
button_change_password: Change password
button_copy: Copy
+ button_copy_and_follow: Copy and follow
button_annotate: Annotate
button_update: Update
button_configure: Configure
button_quote: Quote
+ button_duplicate: Duplicate
status_active: active
status_registered: registered
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
button_rename: Renommer
button_change_password: Changer de mot de passe
button_copy: Copier
+ button_copy_and_follow: Copier et suivre
button_annotate: Annoter
button_update: Mettre à jour
button_configure: Configurer
button_quote: Citer
+ button_duplicate: Dupliquer
status_active: actif
status_registered: enregistré
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
label_version_sharing_tree: With project tree
label_version_sharing_none: Not shared
error_can_not_archive_project: This project can not be archived
+ button_duplicate: Duplicate
+ button_copy_and_follow: Copy and follow
.icon-add { background-image: url(../images/add.png); }
.icon-edit { background-image: url(../images/edit.png); }
.icon-copy { background-image: url(../images/copy.png); }
+.icon-duplicate { background-image: url(../images/duplicate.png); }
.icon-del { background-image: url(../images/delete.png); }
.icon-move { background-image: url(../images/move.png); }
.icon-save { background-image: url(../images/save.png); }