diff --git a/boards/templates/boards/posting_general.html b/boards/templates/boards/posting_general.html --- a/boards/templates/boards/posting_general.html +++ b/boards/templates/boards/posting_general.html @@ -87,13 +87,15 @@ {% if not thread.archived %} {% with last_replies=thread.get_last_replies %} {% if last_replies %} - {% if thread.get_skipped_replies_count %} -
- - {% blocktrans with count=thread.get_skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %} - -
- {% endif %} + {% with skipped_replies_count=thread.get_skipped_replies_count %} + {% if skipped_replies_count %} +
+ + {% blocktrans with count=skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %} + +
+ {% endif %} + {% endwith %}
{% for post in last_replies %} {% post_view post is_opening=False moderator=moderator truncated=True %}