diff options
author | Go MAEDA <maeda@farend.jp> | 2021-04-13 07:20:47 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-04-13 07:20:47 +0000 |
commit | 53b34f63c7c7b683dd060d299b9721eb2e2a7a90 (patch) | |
tree | f4241010ddbf89fdaba47d985367b74ee13e270d /app/views | |
parent | 6973a41b89863a03e9198d31f6256f4fe81e8bae (diff) | |
download | redmine-53b34f63c7c7b683dd060d299b9721eb2e2a7a90.tar.gz redmine-53b34f63c7c7b683dd060d299b9721eb2e2a7a90.zip |
"Copy link" feature for issues list (#34932).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20939 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-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 3a8e19cdd..cf402f120 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -155,9 +155,11 @@ <li><%= context_menu_link l(:button_add_subtask), url_for_new_subtask(@issue), :class => 'icon icon-add' %></li> <% end %> + <li><%= copy_object_url_link(issue_url(@issue)) %></li> <li><%= context_menu_link l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy', :disabled => !@can[:copy] %></li> <% else %> + <li><%= copy_object_url_link(_project_issues_url(@project, set_filter: 1, status_id: '*', issue_id: @issue_ids.join(','))) %></li> <li><%= context_menu_link l(:button_copy), bulk_edit_issues_path(:ids => @issue_ids, :copy => '1'), :class => 'icon icon-copy', :disabled => !@can[:copy] %></li> <% end %> |