enable "reply" function on the "Comments" page
This commit is contained in:
parent
27caa0a7a6
commit
5bca469035
|
@ -59,8 +59,7 @@ class="comment <%= comment.current_vote ? (comment.current_vote[:vote] == 1 ?
|
|||
<a class="comment_deletor">delete</a>
|
||||
<% end %>
|
||||
|
||||
<% if @user && !comment.story.is_gone? && !comment.is_gone? &&
|
||||
!(defined?(show_story) && show_story) %>
|
||||
<% if @user && !comment.story.is_gone? && !comment.is_gone? %>
|
||||
|
|
||||
<a class="comment_replier">reply</a>
|
||||
<% end %>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<ol class="comments comments1">
|
||||
<% @comments.each do |comment| %>
|
||||
<li><%= render "comments/comment", :comment => comment,
|
||||
:show_story => true %></li>
|
||||
:show_story => true %>
|
||||
<ol class="comments"></ol>
|
||||
</li>
|
||||
<% end %>
|
||||
</ol>
|
||||
|
||||
|
|
Loading…
Reference in a new issue