diff options
author | Go MAEDA <maeda@farend.jp> | 2024-07-14 01:49:53 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-07-14 01:49:53 +0000 |
commit | 6c8b04d6d5cf5f25ddd99a5cedb095f776a524dd (patch) | |
tree | 3ed691dc0577f84667c2da224d63a937405c95c6 /app/views/issues | |
parent | 6322650728c8c642ee370f45c4f118896fd6f0c8 (diff) | |
download | redmine-6c8b04d6d5cf5f25ddd99a5cedb095f776a524dd.tar.gz redmine-6c8b04d6d5cf5f25ddd99a5cedb095f776a524dd.zip |
Add configurable setting for copying attachments when copying an issue (#36197).
Patch by Yuichi HARADA (user:yui.har).
git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index 92f6f251a..40089215c 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -17,7 +17,7 @@ <%= check_box_tag 'link_copy', '1', @link_copy %> </p> <% end %> - <% if @copy_from && @copy_from.attachments.any? %> + <% if @copy_from && Setting.copy_attachments_on_issue_copy == 'ask' && @copy_from.attachments.any? %> <p> <label for="copy_attachments"><%= l(:label_copy_attachments) %></label> <%= check_box_tag 'copy_attachments', '1', @copy_attachments %> |