comment/comments
This commit is contained in:
parent
c063e7cebc
commit
36ab41eba1
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
|||
</a>
|
||||
{% if item.public_comments.count %}
|
||||
<div class="comments">
|
||||
<a href="{{ item.get_absolute_url }}">{{ item.public_comments.count }} comments</a>
|
||||
{% with comments=item.public_comments.count %}
|
||||
<a href="{{ item.get_absolute_url }}">{{ comments }} comment{{ comments |pluralize }}</a>
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue