diff --git a/boards/templates/boards/post.html b/boards/templates/boards/post.html --- a/boards/templates/boards/post.html +++ b/boards/templates/boards/post.html @@ -2,7 +2,9 @@ {% load board %} {% spaceless %} -{% if can_bump %} +{% if post.thread_new.archived %} +
+{% elif post.thread_new.can_bump %}
{% else %}
diff --git a/boards/views/api.py b/boards/views/api.py --- a/boards/views/api.py +++ b/boards/views/api.py @@ -100,7 +100,6 @@ def get_post(request, post_id): context = RequestContext(request) context['post'] = post - context['can_bump'] = thread.can_bump() if PARAMETER_TRUNCATED in request.GET: context[PARAMETER_TRUNCATED] = True