##// END OF EJS Templates
Made cache respect the moderator rights.
neko259 -
r187:43ae058f default
parent child Browse files
Show More
@@ -30,7 +30,7 b''
30
30
31 {% if threads %}
31 {% if threads %}
32 {% for thread in threads %}
32 {% for thread in threads %}
33 {% cache 600 thread_cache thread.thread.last_edit_time %}
33 {% cache 600 thread_cache thread.thread.last_edit_time moderator %}
34 <div class="thread">
34 <div class="thread">
35 {% if thread.bumpable %}
35 {% if thread.bumpable %}
36 <div class="post" id="{{ thread.thread.id }}">
36 <div class="post" id="{{ thread.thread.id }}">
@@ -12,7 +12,7 b''
12 <script src="{{ STATIC_URL }}js/thread.js"></script>
12 <script src="{{ STATIC_URL }}js/thread.js"></script>
13
13
14 {% if posts %}
14 {% if posts %}
15 {% cache 600 thread_view posts.0.last_edit_time %}
15 {% cache 600 thread_view posts.0.last_edit_time moderator %}
16 <div id="posts">
16 <div id="posts">
17 {% for post in posts %}
17 {% for post in posts %}
18 {% if bumpable %}
18 {% if bumpable %}
General Comments 0
You need to be logged in to leave comments. Login now