##// END OF EJS Templates
Removed cache from thread gallery template
neko259 -
r1104:21ab7968 default
parent child Browse files
Show More
@@ -1,7 +1,6 b''
1 {% extends "boards/thread.html" %}
1 {% extends "boards/thread.html" %}
2
2
3 {% load i18n %}
3 {% load i18n %}
4 {% load cache %}
5 {% load static from staticfiles %}
4 {% load static from staticfiles %}
6 {% load board %}
5 {% load board %}
7 {% load tz %}
6 {% load tz %}
@@ -16,7 +15,6 b''
16 {% get_current_language as LANGUAGE_CODE %}
15 {% get_current_language as LANGUAGE_CODE %}
17 {% get_current_timezone as TIME_ZONE %}
16 {% get_current_timezone as TIME_ZONE %}
18
17
19 {% cache 600 thread_gallery_view thread.id thread.last_edit_time LANGUAGE_CODE request.get_host TIME_ZONE %}
20 <div class="image-mode-tab">
18 <div class="image-mode-tab">
21 <a href="{% url 'thread' thread.get_opening_post.id %}">{% trans 'Normal mode' %}</a>,
19 <a href="{% url 'thread' thread.get_opening_post.id %}">{% trans 'Normal mode' %}</a>,
22 <a class="current_mode" href="{% url 'thread_gallery' thread.get_opening_post.id %}">{% trans 'Gallery mode' %}</a>
20 <a class="current_mode" href="{% url 'thread_gallery' thread.get_opening_post.id %}">{% trans 'Gallery mode' %}</a>
@@ -52,5 +50,4 b''
52 {% trans 'No images.' %}
50 {% trans 'No images.' %}
53 {% endif %}
51 {% endif %}
54 </div>
52 </div>
55 {% endcache %}
56 {% endblock %}
53 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now