54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
<%= 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>
|
||
<script type="text/javascript">
|
||
$(function(){
|
||
$("#RSide").removeAttr("id");
|
||
$("#Container").css("width","1000px");
|
||
is_edit = <%= @is_edit.present? && @is_edit == true %>
|
||
if(is_edit) {
|
||
issueEditShow();
|
||
}
|
||
});
|
||
</script>
|
||
<div class="homepageRight mt0 ml10" id =issue_show_total"">
|
||
<div class="homepageRightBanner">
|
||
<div class="NewsBannerName">问题跟踪</div>
|
||
</div>
|
||
|
||
<div class="resources mt10" >
|
||
<div class="pro_page_box">
|
||
<div class="problem_main borderBottomNone">
|
||
<div id="issue_detail_show">
|
||
<%= render :partial => 'issues/detail'%>
|
||
</div>
|
||
<div id="issue_edit_show">
|
||
<%= render :partial => 'issues/edit'%>
|
||
</div>
|
||
</div>
|
||
|
||
<!--problem_main end-->
|
||
<div style="clear: both;"></div>
|
||
<div class="homepagePostReply">
|
||
<div class="topBorder" style="display: <%= @issue.journals.count>0 ? 'none': '' %>"></div>
|
||
<div class="homepagePostReplyBanner" >
|
||
<% count = @issue.journals.count %>
|
||
<div class="homepagePostReplyBannerCount" >回复
|
||
<sapn class="mr15"><%= count>0 ? "(#{count})" : "" %></sapn><span style="color: #cecece;">▪</span>
|
||
<span id="praise_count_<%=@issue.id %>">
|
||
<%=render :partial=> "praise_tread/praise", :locals => {:activity=>@issue, :user_activity_id=>@issue.id,:type=>"activity"}%>
|
||
</span>
|
||
</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>
|
||
</div> |