##// END OF EJS Templates
Fixed post replies caching
neko259 -
r575:3c04b31b default
parent child Browse files
Show More
@@ -4,11 +4,11 b''
4
4
5 {% get_current_language as LANGUAGE_CODE %}
5 {% get_current_language as LANGUAGE_CODE %}
6
6
7 {% with thread=post.thread_new %}
7 {% cache 600 post post.id thread.last_edit_time truncated moderator LANGUAGE_CODE need_open_link %}
8 {% cache 600 post post.id thread.last_edit_time truncated moderator LANGUAGE_CODE need_open_link %}
8
9
9 {% with is_opening=post.is_opening %}
10 {% with is_opening=post.is_opening %}
10 {% spaceless %}
11 {% spaceless %}
11 {% with thread=post.thread_new %}
12 {% if thread.archived %}
12 {% if thread.archived %}
13 <div class="post archive_post" id="{{ post.id }}">
13 <div class="post archive_post" id="{{ post.id }}">
14 {% elif thread.can_bump %}
14 {% elif thread.can_bump %}
@@ -99,7 +99,7 b''
99 </div>
99 </div>
100 {% endif %}
100 {% endif %}
101 </div>
101 </div>
102 {% endwith %}
103 {% endspaceless %}
102 {% endspaceless %}
104 {% endwith %}
103 {% endwith %}
105 {% endcache %}
104 {% endcache %}
105 {% endwith %}
General Comments 0
You need to be logged in to leave comments. Login now