|
@ -74,7 +74,13 @@ |
|
|
{% if request.has_permission('view', comment) %} |
|
|
{% if request.has_permission('view', comment) %} |
|
|
{# Show votes at the top only if it's your own comment #} |
|
|
{# Show votes at the top only if it's your own comment #} |
|
|
{% if request.user == comment.user and comment.num_votes > 0 %} |
|
|
{% if request.user == comment.user and comment.num_votes > 0 %} |
|
|
<span class="comment-votes">{{ comment.num_votes }} votes</span> |
|
|
|
|
|
|
|
|
<span class="comment-votes">{{ comment.num_votes }} |
|
|
|
|
|
{% trans num_votes=comment.num_votes %} |
|
|
|
|
|
vote |
|
|
|
|
|
{% pluralize %} |
|
|
|
|
|
votes |
|
|
|
|
|
{% endtrans %} |
|
|
|
|
|
</span> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if comment.tag_counts %} |
|
|
{% if comment.tag_counts %} |
|
|