2015-12-06 15:03:12 +08:00
|
|
|
<%= content_for(:header_tags) do %>
|
2015-12-18 16:50:44 +08:00
|
|
|
<%= import_ke(enable_at: true) %>
|
2015-12-17 15:15:00 +08:00
|
|
|
<%= javascript_include_tag 'create_kindeditor'%>
|
2015-12-06 15:03:12 +08:00
|
|
|
<% end %>
|
2015-12-17 15:15:00 +08:00
|
|
|
<script>
|
2015-12-18 16:50:44 +08:00
|
|
|
sd_create_editor_from_data(<%= @issue.id%>, null, "100%", "<%= @issue.class.name %>");
|
2015-12-17 15:15:00 +08:00
|
|
|
</script>
|
2016-12-07 15:47:57 +08:00
|
|
|
|
2016-10-25 15:37:49 +08:00
|
|
|
<div class="mt10 mb10" id =issue_show_total"">
|
2016-10-25 11:23:02 +08:00
|
|
|
<div class="banner-big f16 fontGrey3">
|
|
|
|
问题跟踪
|
2016-11-14 13:28:41 +08:00
|
|
|
<a href="<%= new_project_issue_path(@project)%>" class="sy_btn_green fr" >新建</a>
|
2016-10-25 11:23:02 +08:00
|
|
|
</div>
|
2015-09-24 17:03:43 +08:00
|
|
|
|
2016-10-25 15:37:49 +08:00
|
|
|
<div class="resources mt10" style="float:left;">
|
2015-12-15 18:43:58 +08:00
|
|
|
<div class="pro_page_box">
|
|
|
|
<div class="problem_main borderBottomNone">
|
2016-07-13 12:07:27 +08:00
|
|
|
<div id="issue_detail_show">
|
2015-12-15 18:43:58 +08:00
|
|
|
<%= render :partial => 'issues/detail'%>
|
2016-07-13 12:07:27 +08:00
|
|
|
</div>
|
2015-04-15 16:38:39 +08:00
|
|
|
</div>
|
2015-03-19 16:25:18 +08:00
|
|
|
|
2015-12-15 18:43:58 +08:00
|
|
|
<!--problem_main end-->
|
|
|
|
<div style="clear: both;"></div>
|
2016-10-25 15:37:49 +08:00
|
|
|
<div class="homepagePostReply">
|
2015-12-29 18:12:14 +08:00
|
|
|
<div class="topBorder" style="display: <%= @issue.journals.count>0 ? 'none': '' %>"></div>
|
2016-10-25 15:37:49 +08:00
|
|
|
<div class="homepagePostReplyBanner" >
|
2016-08-29 16:25:30 +08:00
|
|
|
<div class="homepagePostReplyBannerCount">
|
|
|
|
<%=render :partial => 'issue_reply_banner' %>
|
2016-08-29 14:26:25 +08:00
|
|
|
</div>
|
2015-12-29 18:12:14 +08:00
|
|
|
<div class="homepagePostReplyBannerTime"></div>
|
|
|
|
</div>
|
|
|
|
<div class="" id="reply_div_<%= @issue.id %>" >
|
|
|
|
<%= render :partial => 'issue_replies',:locals => {:issue => @issue, :replies_all_i => 0} %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-17 11:28:28 +08:00
|
|
|
</div>
|
2016-10-25 11:23:02 +08:00
|
|
|
|
2016-12-14 14:08:08 +08:00
|
|
|
<ul class="fr pro_new_conbox_right mt10" id="project_issue_info_show">
|
2016-10-25 15:37:49 +08:00
|
|
|
<li class="clear">
|
|
|
|
<span class="pro_new_conbox_leftspan fl">当前状态</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= @issue.status.name %></span>
|
|
|
|
</li>
|
|
|
|
<li class="clear">
|
|
|
|
<span class="pro_new_conbox_leftspan fl">选定优先级</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= @issue.priority.name %></span>
|
|
|
|
</li>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('assigned_to_id') %>
|
|
|
|
<li class="clear">
|
|
|
|
<span class="pro_new_conbox_leftspan fl">指派给</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10">
|
2016-11-11 17:59:34 +08:00
|
|
|
<a href="<%= @issue.assigned_to_id.nil? ? "javascript:void(0)" : user_path(@issue.assigned_to) %>" class="c_blue" ><%= @issue.assigned_to ? @issue.assigned_to.show_name : "--" %></a></span>
|
2016-10-25 15:37:49 +08:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('fixed_version_id') %>
|
|
|
|
<li class="clear">
|
|
|
|
<span class="pro_new_conbox_leftspan fl">里程碑</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= @issue.fixed_version ? @issue.fixed_version : "--" %></span>
|
|
|
|
</li>
|
|
|
|
<%end%>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('start_date') %>
|
|
|
|
<li class="clear"><span class="pro_new_conbox_leftspan fl">开始日期</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= format_date(@issue.start_date) %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2016-12-15 12:25:36 +08:00
|
|
|
<% unless @issue.disabled_core_fields.include?('due_date') %>
|
|
|
|
<li class="clear"><span class="pro_new_conbox_leftspan fl">结束日期</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= format_date(@issue.due_date) %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2016-10-25 15:37:49 +08:00
|
|
|
<% unless @issue.disabled_core_fields.include?('estimated_hours') %>
|
|
|
|
<li class="clear"><span class="pro_new_conbox_leftspan fl">预计工时(H)</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= l_hours(@issue.estimated_hours) %></span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% unless @issue.disabled_core_fields.include?('done_ratio') %>
|
|
|
|
<li class="clear"><span class="pro_new_conbox_leftspan fl">完成度</span>
|
|
|
|
<span class="pro_new_conbox_rightspan fl ml10"><%= @issue.done_ratio %>%</span>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2016-12-14 16:57:56 +08:00
|
|
|
<li class="clear">
|
|
|
|
<%= render :partial => "issues/issue_commit_ids_show" %>
|
2016-12-06 17:37:07 +08:00
|
|
|
</li>
|
2016-10-25 15:37:49 +08:00
|
|
|
</ul>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
|