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

55 lines
2.5 KiB
Plaintext
Raw Normal View History

2015-12-06 15:03:12 +08:00
<%= content_for(:header_tags) do %>
2015-12-15 18:43:58 +08:00
<%= import_ke(enable_at: true) %>
2015-12-06 15:03:12 +08:00
<% end %>
2015-12-15 18:43:58 +08:00
<script type="text/javascript">
$(function(){
$("#RSide").removeAttr("id");
$("#Container").css("width","1000px");
});
</script>
<div class="homepageRight mt0 ml10" >
<div class="homepageRightBanner">
<div class="NewsBannerName">问题跟踪</div>
2015-03-19 16:25:18 +08:00
</div>
2015-09-24 17:03:43 +08:00
2015-12-15 18:43:58 +08:00
<div class="resources mt10" style="min-height:619px;">
<div class="pro_page_box">
<div class="problem_main borderBottomNone">
<div id="issue_detail" style="display: block">
<%= render :partial => 'issues/detail'%>
</div>
<div id="issue_edit" style="display: none">
<%= render :partial => 'issues/edit'%>
2015-09-24 17:03:43 +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>
<div class="homepagePostReply">
<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>
2015-03-19 16:25:18 +08:00
2015-12-15 18:43:58 +08:00
<div class="" id="reply_div_<%= @issue.id %>" >
<%= render :partial => 'issue_replies',:locals => {:issue=>@issue,:replies_all_i=>0} %>
2015-04-15 20:05:21 +08:00
</div>
2015-03-19 16:25:18 +08:00
2015-12-15 18:43:58 +08:00
<div class="homepagePostReplyContainer borderBottomNone minHeight48">
<%= form_for('new_form',:url => add_journal_issue_path(@issue.id),:method => "post", :remote => true) do |f|%>
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= @issue.id%>">
<%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(@issue.author_id), :alt => "用户头像" %>
</div>
<input type="hidden" name="issue_id" value="<%=@issue.id%>">
<div class="homepagePostReplyInputContainer mb10">
<%= kindeditor_tag :notes,"",:height=>"33",:minHeight=>"33",:editor_id=>"issues_reply_editor"%>
<div class="cl"></div>
</div>
<a href="javascript:void(0);" onclick="issues_reply_editor.sync();$(this).parent().submit();" class="homepagePostReplySubmit postReplySubmit fl mt5">发送</a>
<div class="cl"></div>
<% end %>
</div>
</div>
<!--<div style="clear:both;"></div>-->