socialforge/app/views/issues/show.html.erb

48 lines
1.7 KiB
Plaintext
Raw Normal View History

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>
2015-12-15 18:43:58 +08:00
<script type="text/javascript">
$(function(){
$("#RSide").removeAttr("id");
$("#Container").css("width","1000px");
2016-03-18 15:58:23 +08:00
is_edit = <%= @is_edit.present? && @is_edit == true %>
if(is_edit) {
issueEditShow();
}
2015-12-15 18:43:58 +08:00
});
</script>
<div class="homepageRight mt0 ml10" id =issue_show_total"">
<div class="homepageRightBanner">
<div class="NewsBannerName">问题跟踪</div>
</div>
2015-09-24 17:03:43 +08:00
<div class="resources mt10" >
2015-12-15 18:43:58 +08:00
<div class="pro_page_box">
<div class="problem_main borderBottomNone">
<div id="issue_detail_show">
2015-12-15 18:43:58 +08:00
<%= render :partial => 'issues/detail'%>
</div>
<div id="issue_edit_show">
2015-12-16 09:31:11 +08:00
<%= render :partial => 'issues/edit'%>
</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>
<div class="homepagePostReply">
2015-12-29 18:12:14 +08:00
<div class="topBorder" style="display: <%= @issue.journals.count>0 ? 'none': '' %>"></div>
<div class="homepagePostReplyBanner" >
<div class="homepagePostReplyBannerCount" >回复(<%= @issue.journals.count %></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>
2015-12-29 18:12:14 +08:00
</div>