##// END OF EJS Templates
Optimized thread list loading
neko259 -
r1028:aaf7a38a default
parent child Browse files
Show More
@@ -87,13 +87,15 b''
87 87 {% if not thread.archived %}
88 88 {% with last_replies=thread.get_last_replies %}
89 89 {% if last_replies %}
90 {% if thread.get_skipped_replies_count %}
91 <div class="skipped_replies">
92 <a href="{% url 'thread' thread.get_opening_post.id %}">
93 {% blocktrans with count=thread.get_skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %}
94 </a>
95 </div>
96 {% endif %}
90 {% with skipped_replies_count=thread.get_skipped_replies_count %}
91 {% if skipped_replies_count %}
92 <div class="skipped_replies">
93 <a href="{% url 'thread' thread.get_opening_post_id %}">
94 {% blocktrans with count=skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %}
95 </a>
96 </div>
97 {% endif %}
98 {% endwith %}
97 99 <div class="last-replies">
98 100 {% for post in last_replies %}
99 101 {% post_view post is_opening=False moderator=moderator truncated=True %}
General Comments 0
You need to be logged in to leave comments. Login now