summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-07-14 01:49:53 +0000
committerGo MAEDA <maeda@farend.jp>2024-07-14 01:49:53 +0000
commit6c8b04d6d5cf5f25ddd99a5cedb095f776a524dd (patch)
tree3ed691dc0577f84667c2da224d63a937405c95c6 /app/views/issues
parent6322650728c8c642ee370f45c4f118896fd6f0c8 (diff)
downloadredmine-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.erb2
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 %>