Show More
@@ -2,7 +2,9 b'' | |||||
2 | {% load board %} |
|
2 | {% load board %} | |
3 |
|
3 | |||
4 | {% spaceless %} |
|
4 | {% spaceless %} | |
5 | {% if can_bump %} |
|
5 | {% if post.thread_new.archived %} | |
|
6 | <div class="post archive_post" id="{{ post.id }}"> | |||
|
7 | {% elif post.thread_new.can_bump %} | |||
6 | <div class="post" id="{{ post.id }}"> |
|
8 | <div class="post" id="{{ post.id }}"> | |
7 | {% else %} |
|
9 | {% else %} | |
8 | <div class="post dead_post" id="{{ post.id }}"> |
|
10 | <div class="post dead_post" id="{{ post.id }}"> |
@@ -100,7 +100,6 b' def get_post(request, post_id):' | |||||
100 |
|
100 | |||
101 | context = RequestContext(request) |
|
101 | context = RequestContext(request) | |
102 | context['post'] = post |
|
102 | context['post'] = post | |
103 | context['can_bump'] = thread.can_bump() |
|
|||
104 | if PARAMETER_TRUNCATED in request.GET: |
|
103 | if PARAMETER_TRUNCATED in request.GET: | |
105 | context[PARAMETER_TRUNCATED] = True |
|
104 | context[PARAMETER_TRUNCATED] = True | |
106 |
|
105 |
General Comments 0
You need to be logged in to leave comments.
Login now