parent
9d371b72d6
commit
192a6c8a02
|
@ -173,11 +173,7 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
|
||||||
|
|
|
|
||||||
<a href="<%= story.comments_path %>">
|
<a href="<%= story.comments_path %>">
|
||||||
<% if story.comments_count == 0 %>
|
<% if story.comments_count == 0 %>
|
||||||
<% if @user %>
|
no comments
|
||||||
discuss
|
|
||||||
<% else %>
|
|
||||||
no comments
|
|
||||||
<% end %>
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= story.comments_count %>
|
<%= story.comments_count %>
|
||||||
comment<%= story.comments_count == 1 ? "" : "s" %>
|
comment<%= story.comments_count == 1 ? "" : "s" %>
|
||||||
|
|
Loading…
Reference in a new issue