feature-5156.diff

patch - Go MAEDA, 2016-03-30 12:14

Download (907 Bytes)

View differences:

app/views/issues/bulk_edit.html.erb (working copy)
160 160
</p>
161 161
<% end %>
162 162

  
163
<% if @safe_attributes.include?('estimated_hours') %>
164
<p>
165
  <label for='issue_estimated_hours'><%= l(:field_estimated_hours) %></label>
166
  <%= text_field_tag 'issue[estimated_hours]', '', :value => @issue_params[:estimated_hours], :size => 10 %>
167
  <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>
168
</p>
169
<% end %>
170

  
163 171
<% if @safe_attributes.include?('done_ratio') && Issue.use_field_for_done_ratio? %>
164 172
<p>
165 173
  <label for='issue_done_ratio'><%= l(:field_done_ratio) %></label>