5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-22 00:07:06 +00:00
This commit is contained in:
Frederik 2018-11-08 15:30:05 +01:00 committed by Peter Bhat Harkins
parent 4870da7ec6
commit b2527d03e3

View File

@ -168,11 +168,10 @@ 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 %>
no comments no comments</a>
<% else %> <% else %>
<%= story.comments_count %> <%= 'comment'.pluralize(story.comments_count) %></a> <%= story.comments_count %> <%= 'comment'.pluralize(story.comments_count) %></a>
<% end %> <% end %>
</a>
</span> </span>
<% end %> <% end %>