##// END OF EJS Templates
Image getting and checking last replies optimizations.
neko259 -
r165:d4652b55 default
parent child Browse files
Show More
@@ -27,7 +27,7 b''
27 27 {% else %}
28 28 <div class="post dead_post" id="{{ thread.thread.id }}">
29 29 {% endif %}
30 {% if thread.thread.image %}
30 {% if thread.thread.image.exists %}
31 31 <div class="image">
32 32 <a class="fancy"
33 33 href="{{ thread.thread.image.url }}"><img
@@ -75,7 +75,7 b''
75 75 {% endif %}
76 76 </div>
77 77 </div>
78 {% if thread.thread.get_last_replies %}
78 {% if thread.thread.get_last_replies.exists %}
79 79 <div class="last-replies">
80 80 {% for post in thread.thread.get_last_replies %}
81 81 {% if thread.bumpable %}
@@ -83,7 +83,7 b''
83 83 {% else %}
84 84 <div class="post dead_post" id="{{ post.id }}">
85 85 {% endif %}
86 {% if post.image %}
86 {% if post.image.exists %}
87 87 <div class="image">
88 88 <a class="fancy"
89 89 href="{{ post.image.url }}"><img
@@ -10,7 +10,7 b''
10 10
11 11 {% block content %}
12 12
13 {% if posts %}
13 {% if posts.exists %}
14 14 <div id="posts">
15 15 {% for post in posts %}
16 16 {% if bumpable %}
@@ -18,7 +18,7 b''
18 18 {% else %}
19 19 <div class="post dead_post" id="{{ post.id }}">
20 20 {% endif %}
21 {% if post.image %}
21 {% if post.image.exists %}
22 22 <div class="image">
23 23 <a
24 24 class="fancy"
General Comments 0
You need to be logged in to leave comments. Login now