2015-09-23 14:27:47 +08:00
|
|
|
<!--属性-->
|
2015-12-15 18:43:58 +08:00
|
|
|
<div class="proInfoBox mb10">
|
2015-09-23 14:27:47 +08:00
|
|
|
<%= issue_fields_rows do |rows| %>
|
|
|
|
<ul class="fl" >
|
|
|
|
<li><p class="label03" > 状态 : </p><p class="pro_info_p"><%= @issue.status.name %></p>
|
|
|
|
</li>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('assigned_to_id') %>
|
|
|
|
<li><p class="label03" > 指派给 : </p><span class="pro_info_p"><%= @issue.assigned_to ? link_to_isuue_user(@issue.assigned_to) : "--" %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</ul>
|
|
|
|
<ul class="fl" >
|
|
|
|
<li><p class="label03" > 优先级 : </p><span class="pro_info_p" style="width:50px;"><%= @issue.priority.name %></span>
|
|
|
|
</li>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('done_ratio') %>
|
|
|
|
<li><p class="label03" > % 完成 : </p><span class="pro_info_p" style="width:50px;"><%= @issue.done_ratio %>%</span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</ul>
|
|
|
|
<ul class="fl " >
|
|
|
|
<% unless @issue.disabled_core_fields.include?('start_date') %>
|
|
|
|
<li><p class="label03" style="width:50px;" > 开始 : </p><p class="pro_info_p"><%= format_date(@issue.start_date) %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('estimated_hours') %>
|
|
|
|
<li><p class="label03" style="width:50px;"> 周期 : </p><span class="pro_info_p"><%= l_hours(@issue.estimated_hours) %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</ul>
|
|
|
|
<ul class="fl " >
|
|
|
|
<% unless @issue.disabled_core_fields.include?('due_date') %>
|
|
|
|
<li><p class="label03" > 计划完成 : </p><span class="pro_info_p" style="width:120px;"><%= format_date(@issue.due_date)? format_date(@issue.due_date) : "--" %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('fixed_version_id') %>
|
|
|
|
<li><p class="label03" > 目标版本 : </p><span class="pro_info_p" style="width:120px;"><%= (@issue.fixed_version ? link_to_version(@issue.fixed_version, :class => "pro_info_p") : "--") %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</ul>
|
|
|
|
<% end %><!--pro_info_box end-->
|
|
|
|
<%#= render_custom_fields_rows(@issue) %>
|
|
|
|
<%#= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
|
|
|
|
</div>
|
|
|
|
<!--pro_info_box 属性 end-->
|