##// END OF EJS Templates
Removed thread cache 'cause posts are already cached
neko259 -
r562:afad9468 default
parent child Browse files
Show More
@@ -13,8 +13,6 b''
13 {% spaceless %}
13 {% spaceless %}
14 {% get_current_language as LANGUAGE_CODE %}
14 {% get_current_language as LANGUAGE_CODE %}
15
15
16 {% cache 600 thread_view thread.id thread.last_edit_time moderator LANGUAGE_CODE %}
17
18 <div class="image-mode-tab">
16 <div class="image-mode-tab">
19 <a class="current_mode" href="{% url 'thread' thread.get_opening_post.id %}">{% trans 'Normal mode' %}</a>,
17 <a class="current_mode" href="{% url 'thread' thread.get_opening_post.id %}">{% trans 'Normal mode' %}</a>,
20 <a href="{% url 'thread_mode' thread.get_opening_post.id 'gallery' %}">{% trans 'Gallery mode' %}</a>
18 <a href="{% url 'thread_mode' thread.get_opening_post.id 'gallery' %}">{% trans 'Gallery mode' %}</a>
@@ -34,7 +32,6 b''
34 {% post_view post moderator=moderator %}
32 {% post_view post moderator=moderator %}
35 {% endfor %}
33 {% endfor %}
36 </div>
34 </div>
37 {% endcache %}
38
35
39 {% if not thread.archived %}
36 {% if not thread.archived %}
40
37
General Comments 0
You need to be logged in to leave comments. Login now