<span class="comments-showing">\r
{% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %}\r
</span>\r
- <a href="#" class="show-all-comments-link">{% trans "show all" %}</a>\r
+ <a href="#" class="show-all-comments-link">{% blocktrans %}show {{ more_comments_count }} more comments{% endblocktrans %}</a>\r
{% endifnotequal %}\r
{% if can_comment %}\r
<a href="#" class="add-comment-link">{% trans "add new comment" %}</a>\r
})\r
canned_comments.append(t.render(c))\r
\r
+ total = len(all_comments)\r
return {\r
'comments': comments,\r
'canned_comments': canned_comments,\r
'min_length': settings.FORM_MIN_COMMENT_BODY,\r
'show_gravatar': settings.FORM_GRAVATAR_IN_COMMENTS,\r
'showing': showing,\r
- 'total': len(all_comments),\r
+ 'total': total,\r
+ 'more_comments_count' : int(total - showing),\r
'user': user,\r
}\r
\r