summaryrefslogtreecommitdiffstats
path: root/app/views/issues/destroy.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-02-18 04:33:30 +0000
committerGo MAEDA <maeda@farend.jp>2018-02-18 04:33:30 +0000
commit5ed8c8e511ce61727b4c750c62b247d73cc3075c (patch)
tree8601e233641ee3c4dcdc6083c542d4e5dc1904e2 /app/views/issues/destroy.html.erb
parent05dc4040c0504e9316ed7cd26f10cd7d4e39e68f (diff)
downloadredmine-5ed8c8e511ce61727b4c750c62b247d73cc3075c.tar.gz
redmine-5ed8c8e511ce61727b4c750c62b247d73cc3075c.zip
Merged r17199 from trunk to 3.4-stable (#28110).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17200 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/destroy.html.erb')
-rw-r--r--app/views/issues/destroy.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb
index 9b08c3698..61b841a62 100644
--- a/app/views/issues/destroy.html.erb
+++ b/app/views/issues/destroy.html.erb
@@ -6,7 +6,9 @@
<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
<p>
<label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br />
+<% unless Setting.timelog_required_fields.include?('issue_id') %>
<label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br />
+<% end %>
<% if @project %>
<label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("#reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label>
<%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("#todo_reassign").attr("checked", true);' %>