Update comments label in widget (#11196)
* Update comments label in widget * Refactor pluralization
This commit is contained in:
parent
669d411feb
commit
6a79c85e6b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<% if show_comment_count %>
|
||||
<div class="crayons-link__secondary">
|
||||
<% if plucked_article[2] > 0 %>
|
||||
Comments: <%= plucked_article[2] %>
|
||||
<%= pluralize(plucked_article[2], "comment") %>
|
||||
<% else %>
|
||||
<span class="crayons-indicator crayons-indicator--accent">New</span>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue