issue详情显示调整

This commit is contained in:
huang 2016-10-13 10:17:54 +08:00
parent dd4d20011d
commit 39cc6c36ea
1 changed files with 9 additions and 16 deletions

View File

@ -24,15 +24,15 @@
<% end %>
</li>
<div class="cl"></div>
<li>
<label class="label">来源:</label>
<select class="w150">
<option>客户</option>
<option>用户</option>
<option>其他</option>
</select>
</li>
<div class="cl"></div>
<!--<li>-->
<!--<label class="label">来源:</label>-->
<!--<select class="w150">-->
<!--<option>客户</option>-->
<!--<option>用户</option>-->
<!--<option>其他</option>-->
<!--</select>-->
<!--</li>-->
<!--<div class="cl"></div>-->
<li>
<label class="label"><%= l(:field_assigned_to) %></label>
<% if @issue.safe_attribute? 'assigned_to_id' %>
@ -85,13 +85,6 @@
<% end %>
</li>
<div class="cl"></div>
<li>
<label class="label02">实际工时 (H)</label>
<% if @issue.safe_attribute? 'estimated_hours' %>
<%= f.text_field :estimated_hours, :size => 22, :disabled => !@issue.leaf?, :no_label => true %>
<% end %>
</li>
<div class="cl"></div>
<li><label class="label02">&nbsp;% 完成&nbsp;&nbsp;:&nbsp;</label>
<% if @issue.safe_attribute?('done_ratio') && @issue.leaf? && Issue.use_field_for_done_ratio? %>
<%= f.select :done_ratio, ((0..10).to_a.collect { |r| ["#{r*10} %", r*10] }),