Don't show vote counts if there are no votes

This commit is contained in:
Timothy Hobbs 2020-01-27 17:02:20 +01:00
parent e20b6d39ae
commit 0395f26d6c

View File

@ -33,7 +33,9 @@
</a>
</div>
<div>
{% if item.votes != 0 %}
{% blocktrans with recommendations=item.recommendations votes=item.votes %}{{ recommendations }} people found this answer useful of {{votes}}{% endblocktrans %}
{% endif %}
</div>
</div>