Merge pull request #37 from wilkie/bugfix/reply_link_on_comments_index
Remove reply link on comment when not on a story page.
This commit is contained in:
commit
ae66c583b6
|
@ -57,7 +57,7 @@ class="comment <%= comment.current_vote ? (comment.current_vote[:vote] == 1 ?
|
|||
<a class="comment_deletor">delete</a>
|
||||
<% end %>
|
||||
|
||||
<% if !story.is_gone? && !comment.is_gone? %>
|
||||
<% if !story.is_gone? && !comment.is_gone? && !show_story %>
|
||||
|
|
||||
<a class="comment_replier">reply</a>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue