You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
4.1 KiB
92 lines
4.1 KiB
<%= content_for(:header_tags) do %>
|
|
<%= import_ke(enable_at: true) %>
|
|
<%= javascript_include_tag 'create_kindeditor'%>
|
|
<% end %>
|
|
<script>
|
|
sd_create_editor_from_data(<%= @issue.id%>, null, "100%", "<%= @issue.class.name %>");
|
|
</script>
|
|
<style>
|
|
.set_Reply_detail ul li.homepagePostReplyContainer,.set_Reply_detail div.homepagePostReplyContainer{padding-left: 10px;padding-right: 0px }
|
|
.set_Reply_detail .homepagePostReplyDes,.set_Reply_detail .homepagePostReplyInputContainer{width: 850px}
|
|
</style>
|
|
<div class="mt10 mb20" id ="issue_show_total">
|
|
<div class="banner-big f16 fontGrey3">
|
|
问题跟踪
|
|
<a href="<%= new_project_issue_path(@project)%>" class="shixun-task-btn task-btn-orange fr" >新建</a>
|
|
</div>
|
|
|
|
<div class="resources mt10" style="float:left;padding: 0px;width:943px!important;">
|
|
<div class="pro_page_box bor-grey-d">
|
|
<div class="problem_main borderBottomNone">
|
|
<div id="issue_detail_show" class="pl10 pt5 pr10">
|
|
<%= render :partial => 'issues/detail'%>
|
|
</div>
|
|
</div>
|
|
|
|
<!--problem_main end-->
|
|
<div style="clear: both;"></div>
|
|
<div class="homepagePostReply set_Reply_detail">
|
|
<div class="topBorder" style="display: <%= @issue.journals.count>0 ? 'none': '' %>"></div>
|
|
<div class="homepagePostReplyBanner" >
|
|
<div class="homepagePostReplyBannerCount">
|
|
<%=render :partial => 'issue_reply_banner' %>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
|
|
<ul class="fr pro_new_conbox_right mt10 font-12" id="project_issue_info_show">
|
|
<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">
|
|
<a href="<%= @issue.assigned_to_id.nil? ? "javascript:void(0)" : user_path(@issue.assigned_to) %>" class="color-orange05" ><%= @issue.assigned_to ? @issue.assigned_to.show_name : "--" %></a></span>
|
|
</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 %>
|
|
<% 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 %>
|
|
<% 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 %>
|
|
<li class="clear">
|
|
<%= render :partial => "issues/issue_commit_ids_show" %>
|
|
</li>
|
|
</ul>
|
|
<div class="cl"></div>
|
|
</div>
|
|
|