This commit is contained in:
Toks
2013-04-01 22:06:35 -04:00
parent bfda9ffa2a
commit a75aad01ab
2 changed files with 8 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ div.comments-for-post {
}
div#c-comments {
div#a-index {
div#a-index, div#a-show {
div.header {
span.info {
margin-right: 1.5em;

View File

@@ -2,7 +2,13 @@
<div id="a-show">
<div class="comments-for-post">
<div class="list-of-comments">
<%= render "comments/partials/show/comment", :post => @comment.post, :comment => @comment, :show_header => false %>
<div class="post post-preview" data-tags="<%= @comment.post.tag_string %>" data-uploader="<%= @comment.post.uploader_name %>" data-rating="<%= @comment.post.rating %>" data-flags="<%= @comment.post.status %>" data-score="<%= @comment.post.score %>" data-parent-id="<%= @comment.post.parent_id %>" data-has-children="<%= @comment.post.has_children? %>">
<div class="preview">
<%= link_to(image_tag(@comment.post.preview_file_url), post_path(@comment.post)) %>
</div>
<%= render :partial => "comments/partials/show/comment", :collection => [@comment] %>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>