summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-03 11:48:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-03 11:48:07 +0000
commit33720d5fbe75c351f916996add96cd33ff34a1c5 (patch)
tree1c3fac3eae09b0a1cafd9cbc1798f0b4c712e5b7 /app/views/issues
parent3e1d2c09243b1f61edcc232138db29abc3be7579 (diff)
downloadredmine-33720d5fbe75c351f916996add96cd33ff34a1c5.tar.gz
redmine-33720d5fbe75c351f916996add96cd33ff34a1c5.zip
Bulk edit form lacks estimated time field (#5156).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15290 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/bulk_edit.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb
index b4ec3d542..db77431fa 100644
--- a/app/views/issues/bulk_edit.html.erb
+++ b/app/views/issues/bulk_edit.html.erb
@@ -160,6 +160,14 @@
</p>
<% end %>
+<% if @safe_attributes.include?('estimated_hours') %>
+<p>
+ <label for='issue_estimated_hours'><%= l(:field_estimated_hours) %></label>
+ <%= text_field_tag 'issue[estimated_hours]', '', :value => @issue_params[:estimated_hours], :size => 10 %>
+ <label class="inline"><%= check_box_tag 'issue[estimated_hours]', 'none', (@issue_params[:estimated_hours] == 'none'), :id => nil, :data => {:disables => '#issue_estimated_hours'} %><%= l(:button_clear) %></label>
+</p>
+<% end %>
+
<% if @safe_attributes.include?('done_ratio') && Issue.use_field_for_done_ratio? %>
<p>
<label for='issue_done_ratio'><%= l(:field_done_ratio) %></label>